I'm running python 2.7.11 and am trying to upgrade openSSL from version 0.9.8 to 1.0.2
I ran the command brew install openssl
and things seemed to install correctly. However, openSSL has not been updated
$ openssl version
OpenSSL 0.9.8zg 14 July 2015
$ brew install openssl
Warning: openssl-1.0.2h_1 already installed
$ brew link --force openssl
Warning: Already linked: /usr/local/Cellar/openssl/1.0.2h_1
To relink: brew unlink openssl && brew link openssl
It looks like things have been installed but I'm not familiar with what steps to take to get things squared away.
EDIT I updated my path as per this post so that /usr/local/bin came before /usr/bin and I get the following:
$ openssl version
OpenSSL 1.0.2h 3 May 2016
However, in python it's running the old version
$ python -c "import ssl; print ssl.OPENSSL_VERSION"
OpenSSL 0.9.8zg 14 July 2015