Index: net/quic/crypto/proof_verifier_chromium.cc |
diff --git a/net/quic/crypto/proof_verifier_chromium.cc b/net/quic/crypto/proof_verifier_chromium.cc |
index 5f70199a5058af1ebecaa2a03411d3006171e858..90e03fee6b275255779d6445b406dc93494f72de 100644 |
--- a/net/quic/crypto/proof_verifier_chromium.cc |
+++ b/net/quic/crypto/proof_verifier_chromium.cc |
@@ -290,8 +290,9 @@ int ProofVerifierChromium::Job::DoVerifyCertComplete(int result) { |
#endif |
if (result != OK) { |
+ std::string error_string = ErrorToString(result); |
error_details_ = StringPrintf("Failed to verify certificate chain: %s", |
- ErrorToString(result)); |
+ error_string.c_str()); |
DLOG(WARNING) << error_details_; |
} |
@@ -301,8 +302,8 @@ int ProofVerifierChromium::Job::DoVerifyCertComplete(int result) { |
} |
bool ProofVerifierChromium::Job::VerifySignature(const string& signed_data, |
- const string& signature, |
- const string& cert) { |
+ const string& signature, |
+ const string& cert) { |
StringPiece spki; |
if (!asn1::ExtractSPKIFromDERCert(cert, &spki)) { |
DLOG(WARNING) << "ExtractSPKIFromDERCert failed"; |