下载:http://openssl.org/
- ./Configure darwin64-x86_64-cc
- make
- make test
- sudo make install
- export PATH="/usr/local/ssl/bin:$PATH"
$ which openssl
/usr/bin/openssl
$ /usr/bin/openssl version
OpenSSL 0.9.8x 10 May 2012
$ /usr/local/ssl/bin/openssl version
OpenSSL 1.0.1e 11 Feb 2013