I've got the default OpenSSL 9.8 (Mac OS X 10.6.8) and decided to install the newest version (1.0.1) via MacPorts (
sudo port install openssl).
These are console output of which and whereis commands:
$ whereis openssl /usr/bin/openssl
(this is default system's one)
$which openssl /opt/local/bin/openssl
(this is installed via MacPorts)
$ openssl version OpenSSL 1.0.1c 10 May 2012
(there is mac port's version in PATH)
Why are different paths returned for
which, and is this okay? Is there any way to get equal results?