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

Unified Diff: net/cert/jwk_serializer_openssl.cc

Issue 1841863002: Update monet. (Closed) Base URL: https://github.com/domokit/monet.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « net/cert/ct_objects_extractor_openssl.cc ('k') | net/cert/jwk_serializer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/jwk_serializer_openssl.cc
diff --git a/net/cert/jwk_serializer_openssl.cc b/net/cert/jwk_serializer_openssl.cc
index d4cebb4a4a2d2052267f44d88a7d207fc815baca..67683fbc56d671701653088282ffceb3d280ff49 100644
--- a/net/cert/jwk_serializer_openssl.cc
+++ b/net/cert/jwk_serializer_openssl.cc
@@ -62,9 +62,11 @@ bool ConvertEcKeyToJwk(EVP_PKEY* pkey,
std::string x_bytes;
std::string y_bytes;
if (!BN_bn2bin_padded(reinterpret_cast<uint8_t*>(
- WriteInto(&x_bytes, degree_bytes + 1)), degree_bytes, x.get()) ||
+ base::WriteInto(&x_bytes, degree_bytes + 1)),
+ degree_bytes, x.get()) ||
!BN_bn2bin_padded(reinterpret_cast<uint8_t*>(
- WriteInto(&y_bytes, degree_bytes + 1)), degree_bytes, y.get())) {
+ base::WriteInto(&y_bytes, degree_bytes + 1)),
+ degree_bytes, y.get())) {
return false;
}
« no previous file with comments | « net/cert/ct_objects_extractor_openssl.cc ('k') | net/cert/jwk_serializer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698