| Index: net/socket/ssl_session_cache_openssl_unittest.cc
|
| diff --git a/net/socket/ssl_session_cache_openssl_unittest.cc b/net/socket/ssl_session_cache_openssl_unittest.cc
|
| index 22c4fbaeb9ce505f8f6de447a3275325c183f876..41e195fab8f4788ec9b97b93067d9320ec1efb4d 100644
|
| --- a/net/socket/ssl_session_cache_openssl_unittest.cc
|
| +++ b/net/socket/ssl_session_cache_openssl_unittest.cc
|
| @@ -10,6 +10,7 @@
|
| #include "base/logging.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "crypto/openssl_util.h"
|
| +#include "crypto/scoped_openssl_types.h"
|
|
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -30,7 +31,8 @@ namespace net {
|
|
|
| namespace {
|
|
|
| -typedef crypto::ScopedOpenSSL<SSL, SSL_free> ScopedSSL;
|
| +typedef crypto::ScopedOpenSSL<SSL, SSL_free>::Type ScopedSSL;
|
| +typedef crypto::ScopedOpenSSL<SSL_CTX, SSL_CTX_free>::Type ScopedSSL_CTX;
|
|
|
| // Helper class used to associate arbitrary std::string keys with SSL objects.
|
| class SSLKeyHelper {
|
| @@ -142,7 +144,7 @@ class SSLSessionCacheOpenSSLTest : public testing::Test {
|
| static const SSLSessionCacheOpenSSL::Config kDefaultConfig;
|
|
|
| protected:
|
| - crypto::ScopedOpenSSL<SSL_CTX, SSL_CTX_free> ctx_;
|
| + ScopedSSL_CTX ctx_;
|
| // |cache_| must be destroyed before |ctx_| and thus appears after it.
|
| SSLSessionCacheOpenSSL cache_;
|
| };
|
|
|