Index: net/cert/ct_log_verifier_openssl.cc |
diff --git a/net/cert/ct_log_verifier_openssl.cc b/net/cert/ct_log_verifier_openssl.cc |
index 0b05d96de83c2f6e43e5c623bfd2d56068dfcf31..b85c0d603d7a35f2bd6bf009562808d832cf7452 100644 |
--- a/net/cert/ct_log_verifier_openssl.cc |
+++ b/net/cert/ct_log_verifier_openssl.cc |
@@ -9,6 +9,7 @@ |
#include "base/logging.h" |
#include "crypto/openssl_util.h" |
+#include "crypto/scoped_openssl_types.h" |
#include "crypto/sha2.h" |
#include "net/cert/signed_tree_head.h" |
@@ -55,7 +56,7 @@ bool CTLogVerifier::Init(const base::StringPiece& public_key, |
const base::StringPiece& description) { |
crypto::OpenSSLErrStackTracer err_tracer(FROM_HERE); |
- crypto::ScopedOpenSSL<BIO, BIO_free_all> bio( |
+ crypto::ScopedBIO bio( |
BIO_new_mem_buf(const_cast<char*>(public_key.data()), public_key.size())); |
if (!bio.get()) |
return false; |