The dylib openssl is deprecated because of binary compatibility issues across versions (eg: causes problems like Why does the OpenSSL test suite fail on MacOS X? ).
See joet3ch's answer for what Apple suggests to do about it.
However, you're free/encouraged to get openssl from openssl.org and link statically.