Index: net/cert/x509_util_openssl.cc |
diff --git a/net/cert/x509_util_openssl.cc b/net/cert/x509_util_openssl.cc |
index 8ecd0dde35d506dba54c4a316c5580f4ec8b4ceb..6bbf12dcd95a08373db0f6471d06ae48e458c3a6 100644 |
--- a/net/cert/x509_util_openssl.cc |
+++ b/net/cert/x509_util_openssl.cc |
@@ -23,16 +23,15 @@ namespace net { |
namespace { |
-typedef crypto::ScopedOpenSSL<ASN1_INTEGER, ASN1_INTEGER_free>::Type |
- ScopedASN1_INTEGER; |
-typedef crypto::ScopedOpenSSL<ASN1_OCTET_STRING, ASN1_OCTET_STRING_free>::Type |
- ScopedASN1_OCTET_STRING; |
-typedef crypto::ScopedOpenSSL<ASN1_STRING, ASN1_STRING_free>::Type |
- ScopedASN1_STRING; |
-typedef crypto::ScopedOpenSSL<ASN1_TIME, ASN1_TIME_free>::Type ScopedASN1_TIME; |
-typedef crypto::ScopedOpenSSL<X509_EXTENSION, X509_EXTENSION_free>::Type |
- ScopedX509_EXTENSION; |
-typedef crypto::ScopedOpenSSL<X509_NAME, X509_NAME_free>::Type ScopedX509_NAME; |
+using ScopedASN1_INTEGER = |
+ crypto::ScopedOpenSSL<ASN1_INTEGER, ASN1_INTEGER_free>; |
+using ScopedASN1_OCTET_STRING = |
+ crypto::ScopedOpenSSL<ASN1_OCTET_STRING, ASN1_OCTET_STRING_free>; |
+using ScopedASN1_STRING = crypto::ScopedOpenSSL<ASN1_STRING, ASN1_STRING_free>; |
+using ScopedASN1_TIME = crypto::ScopedOpenSSL<ASN1_TIME, ASN1_TIME_free>; |
+using ScopedX509_EXTENSION = |
+ crypto::ScopedOpenSSL<X509_EXTENSION, X509_EXTENSION_free>; |
+using ScopedX509_NAME = crypto::ScopedOpenSSL<X509_NAME, X509_NAME_free>; |
const EVP_MD* ToEVP(x509_util::DigestAlgorithm alg) { |
switch (alg) { |