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

Unified Diff: net/cert/jwk_serializer_openssl.cc

Issue 1223983002: Move WriteInto to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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/x509_cert_types_win.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/x509_cert_types_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698