pointer and make the SSL_METHOD parameter in SSL_CTX_new, SSL_CTX_set_ssl_version and SSL_set_ssl_method const.
for locking code. The CRYPTO_LOCK_SSL_METHOD lock is now no longer used.