Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2516)

Unified Diff: crypto/scoped_openssl_types.h

Issue 383003002: Pass the client certificate into OpenSSL in common code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Split out ScopedEVP_PKEY change Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | net/socket/ssl_client_socket_openssl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/scoped_openssl_types.h
diff --git a/crypto/scoped_openssl_types.h b/crypto/scoped_openssl_types.h
index a9492333b0919515faf810be833761fbc33c2d85..6766f363ed5a4495073510d552b278fd3f8087ad 100644
--- a/crypto/scoped_openssl_types.h
+++ b/crypto/scoped_openssl_types.h
@@ -11,6 +11,7 @@
#include <openssl/ecdsa.h>
#include <openssl/evp.h>
#include <openssl/rsa.h>
+#include <openssl/x509.h>
#include "base/memory/scoped_ptr.h"
@@ -43,6 +44,7 @@ typedef ScopedOpenSSL<EC_KEY, EC_KEY_free>::Type ScopedEC_KEY;
typedef ScopedOpenSSL<EVP_MD_CTX, EVP_MD_CTX_destroy>::Type ScopedEVP_MD_CTX;
typedef ScopedOpenSSL<EVP_PKEY, EVP_PKEY_free>::Type ScopedEVP_PKEY;
typedef ScopedOpenSSL<RSA, RSA_free>::Type ScopedRSA;
+typedef ScopedOpenSSL<X509, X509_free>::Type ScopedX509;
Ryan Sleevi 2014/07/11 01:06:23 Please read the comments on line 34-37
davidben 2014/07/11 13:47:16 Oops. Done. :-)
} // namespace crypto
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | net/socket/ssl_client_socket_openssl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698