To Update to 1.0.1l (This is the most 'up to date' OpenSSL, but is a major revision to the system OpenSSL and consequently carries more risk than the minor revision above.).
Open up ‘Terminal’ under /Applications/Utilities and execute:
- curl -O https://www.openssl.org/source/openssl-1.0.1l.tar.gz.
- tar zxvf openssl-1.0.1l.tar.gz
- cd openssl-*
- sudo ./Configure --prefix=/usr/ darwin64-x86_64-cc
- sudo make
- sudo make install