#include <folly/io/async/AsyncSocketException.h>
#include <folly/io/async/SSLContext.h>
#include <folly/io/async/ssl/SSLErrors.h>
+#include <folly/ssl/Init.h>
#include <folly/portability/GTest.h>
#include <folly/portability/OpenSSL.h>
TEST(AsyncSocketException, SSLExceptionType) {
{
// Initiailzes OpenSSL everything. Else some of the calls will block
- folly::SSLContext::initializeOpenSSL();
+ folly::ssl::init();
SSLException eof(SSL_ERROR_ZERO_RETURN, 0, 0, 0);
EXPECT_EQ(eof.getType(), AsyncSocketException::END_OF_FILE);