fix for osx10.7 deprecated function in openssl
Merge pull request #14 from ishwor/master

fix for osx10.7 deprecated function in openssl