Revert "Update openssl to 1.0.1g"

This reverts commit ccd40215cf3d744495ed30509a85e6e4a171686e.