[Android WebView] Fix webview perf bot switchover to use org.chromium.webview_shell...
[chromium-blink-merge.git] / net / ssl / scoped_openssl_types.h
bloba8c3c345975336f7781ef1222c6e6034d0319fea
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_SSL_SCOPED_OPENSSL_TYPES_H_
6 #define NET_SSL_SCOPED_OPENSSL_TYPES_H_
8 #include <openssl/ssl.h>
9 #include <openssl/x509.h>
11 #include "crypto/scoped_openssl_types.h"
13 namespace net {
15 using ScopedPKCS8_PRIV_KEY_INFO =
16 crypto::ScopedOpenSSL<PKCS8_PRIV_KEY_INFO, PKCS8_PRIV_KEY_INFO_free>;
17 using ScopedSSL = crypto::ScopedOpenSSL<SSL, SSL_free>;
18 using ScopedSSL_CTX = crypto::ScopedOpenSSL<SSL_CTX, SSL_CTX_free>;
19 using ScopedSSL_SESSION = crypto::ScopedOpenSSL<SSL_SESSION, SSL_SESSION_free>;
20 using ScopedX509 = crypto::ScopedOpenSSL<X509, X509_free>;
22 } // namespace net
24 #endif // NET_SSL_SCOPED_OPENSSL_TYPES_H_