Summary:
`SSL_SESSION_up_ref()` in both BoringSSL and OpenSSL 1.1.0 takes a
`SSL_SESSION*`.
Closes https://github.com/facebook/folly/pull/493
Reviewed By: yfeldblum
Differential Revision:
D4009706
Pulled By: Orvid
fbshipit-source-id:
68ea201821e7a6d5835a79b34187344ba251e239
#if defined(OPENSSL_IS_102) || defined(OPENSSL_IS_101)
CRYPTO_add(&session_->references, 1, CRYPTO_LOCK_SSL_SESSION);
#elif defined(OPENSSL_IS_BORINGSSL) || defined(OPENSSL_IS_110)
- SSL_SESSION_up_ref(&session_);
+ SSL_SESSION_up_ref(session_);
#endif
}
}