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

Unified Diff: net/cert/ct_objects_extractor_openssl.cc

Issue 1609923002: Fix remaining incompatibilities between scoped_ptr and unique_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: net/cert/ct_objects_extractor_openssl.cc
diff --git a/net/cert/ct_objects_extractor_openssl.cc b/net/cert/ct_objects_extractor_openssl.cc
index 6fcc3b8e93b512830f48420922c3460a14333d57..7c878d3a8aacc618582f304d489fcff02874bed0 100644
--- a/net/cert/ct_objects_extractor_openssl.cc
+++ b/net/cert/ct_objects_extractor_openssl.cc
@@ -232,7 +232,7 @@ bool GetPrecertLogEntry(X509Certificate::OSCertHandle leaf,
// Extract the issuer's public key.
std::string issuer_der;
if (!X509Certificate::GetDEREncoded(issuer, &issuer_der))
- return ScopedX509();
+ return false;
base::StringPiece issuer_key;
if (!asn1::ExtractSPKIFromDERCert(issuer_der, &issuer_key))
return false;

Powered by Google App Engine
This is Rietveld 408576698