I just typed *openssl version* in terminal and I got following result:

OpenSSL 0.9.8y 5 Feb 2013

So I ran **brew update** and **brew upgrade openssl**.

Which the first one returned *Updated Homebrew from 7afeb3af to 8cabfe85.*, And second one returned *openssl-1.0.1g already installed*.
So typed *brew link --force openssl*.

After above procedure I typed *openssl version* And I got the same result

OpenSSL 0.9.8y 5 Feb 2013.

How can I update openssl on mac osx 10.9.3?