| Index: net/socket/dns_cert_provenance_checker.cc
|
| diff --git a/net/socket/dns_cert_provenance_checker.cc b/net/socket/dns_cert_provenance_checker.cc
|
| index b05a38260eb6b0e83996229d1377502603d14f76..385762d20b56704fbd3028871f568d99d8e08410 100644
|
| --- a/net/socket/dns_cert_provenance_checker.cc
|
| +++ b/net/socket/dns_cert_provenance_checker.cc
|
| @@ -312,7 +312,8 @@ std::string DnsCertProvenanceChecker::BuildEncryptedReport(
|
|
|
| std::string plaintext(reinterpret_cast<const char*>(p.data()), p.size());
|
| std::string ciphertext;
|
| - encryptor.Encrypt(plaintext, &ciphertext);
|
| + r = encryptor.Encrypt(plaintext, &ciphertext);
|
| + CHECK(r);
|
|
|
| // We use another Pickle object to serialise the 'outer' wrapping of the
|
| // plaintext.
|
|
|