'which openssl' returns nothing when trying to upgrade OpenSSL
This command should show you where any openssl binaries may be located on your system:

locate openssl | grep bin/openssl

For homebrew, make sure you have /usr/local/bin and /usr/local/sbin in your $PATH. You can check your current path setting by issuing echo $PATH.