projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move OpenSSL locking code out of SSLContext
[folly.git]
/
folly
/
ssl
/
test
/
OpenSSLCertUtilsTest.cpp
diff --git
a/folly/ssl/test/OpenSSLCertUtilsTest.cpp
b/folly/ssl/test/OpenSSLCertUtilsTest.cpp
index a337b4ff02e9043333eb3ac3da8fc632d2b9a1d2..46adbf4d5d207b7b3c19c7c0e705ad36f3764e08 100644
(file)
--- a/
folly/ssl/test/OpenSSLCertUtilsTest.cpp
+++ b/
folly/ssl/test/OpenSSLCertUtilsTest.cpp
@@
-18,10
+18,10
@@
#include <folly/Range.h>
#include <folly/String.h>
#include <folly/Range.h>
#include <folly/String.h>
-#include <folly/io/async/SSLContext.h>
#include <folly/portability/GTest.h>
#include <folly/portability/OpenSSL.h>
#include <folly/ssl/OpenSSLPtrTypes.h>
#include <folly/portability/GTest.h>
#include <folly/portability/OpenSSL.h>
#include <folly/ssl/OpenSSLPtrTypes.h>
+#include <folly/ssl/Init.H>
using namespace testing;
using namespace folly;
using namespace testing;
using namespace folly;
@@
-60,7
+60,7
@@
const std::string kTestCertWithSan = folly::stripLeftMargin(R"(
class OpenSSLCertUtilsTest : public Test {
public:
void SetUp() override {
class OpenSSLCertUtilsTest : public Test {
public:
void SetUp() override {
-
SSLContext::initializeOpenSSL
();
+
folly::ssl::init
();
}
};
}
};