Commit 6c11bbdc authored by Kyle Nekritz's avatar Kyle Nekritz Committed by Facebook Github Bot

Return 1 on success in OPENSSL_init_ssl compatibility implementation.

Summary: Exposed by D15610738.

Reviewed By: ngoyal

Differential Revision: D15622920

fbshipit-source-id: f3058c69098ae740d43f27e8161e99b3c5a6b995
parent fd879f06
......@@ -469,7 +469,7 @@ int OPENSSL_init_ssl(uint64_t, const OPENSSL_INIT_SETTINGS*) {
// The caller should have used SSLContext::setLockTypes() prior to calling
// this function.
folly::ssl::detail::installThreadingLocks();
return 0;
return 1;
}
void OPENSSL_cleanup() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment