Commit cf27a11e authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot 2

Disable SSL socket cache tests if cache isn't available

Summary: These tests will always fail if we're building against a version of OpenSSL that doesn't have the extension.

Reviewed By: anirudhvr

Differential Revision: D3724893

fbshipit-source-id: a093d62b9b5ea8239b5d52a66da2a833911b4f47
parent ec3d4073
...@@ -878,7 +878,8 @@ TEST(AsyncSSLSocketTest, SSLClientTimeoutTest) { ...@@ -878,7 +878,8 @@ TEST(AsyncSSLSocketTest, SSLClientTimeoutTest) {
cerr << "SSLClientTimeoutTest test completed" << endl; cerr << "SSLClientTimeoutTest test completed" << endl;
} }
// This is a FB-only extension, and the tests will fail without it
#ifdef SSL_ERROR_WANT_SESS_CACHE_LOOKUP
/** /**
* Test SSL server async cache * Test SSL server async cache
*/ */
...@@ -998,6 +999,7 @@ TEST(AsyncSSLSocketTest, SSLServerCacheCloseTest) { ...@@ -998,6 +999,7 @@ TEST(AsyncSSLSocketTest, SSLServerCacheCloseTest) {
cerr << "SSLServerCacheCloseTest test completed" << endl; cerr << "SSLServerCacheCloseTest test completed" << endl;
} }
#endif
/** /**
* Verify Client Ciphers obtained using SSL MSG Callback. * Verify Client Ciphers obtained using SSL MSG Callback.
......
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