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

Unified Diff: net/cert/jwk_serializer.cc

Issue 1918903002: Rename net/ _openssl files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unused method. Created 4 years, 8 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_openssl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/jwk_serializer.cc
diff --git a/net/cert/jwk_serializer_openssl.cc b/net/cert/jwk_serializer.cc
similarity index 91%
rename from net/cert/jwk_serializer_openssl.cc
rename to net/cert/jwk_serializer.cc
index 12c8e4dae890afaf5bb44be6f273cfd18904e07c..3a6a86d3e7c982df3ae38487a62c78467a7c1f72 100644
--- a/net/cert/jwk_serializer_openssl.cc
+++ b/net/cert/jwk_serializer.cc
@@ -53,8 +53,8 @@ bool ConvertEcKeyToJwk(EVP_PKEY* pkey,
crypto::ScopedBIGNUM x(BN_new());
crypto::ScopedBIGNUM y(BN_new());
- if (!EC_POINT_get_affine_coordinates_GFp(ec_group, ec_point,
- x.get(), y.get(), NULL)) {
+ if (!EC_POINT_get_affine_coordinates_GFp(ec_group, ec_point, x.get(), y.get(),
+ NULL)) {
return false;
}
@@ -88,9 +88,8 @@ bool ConvertEcKeyToJwk(EVP_PKEY* pkey,
} // namespace
-bool ConvertSpkiFromDerToJwk(
- const base::StringPiece& spki_der,
- base::DictionaryValue* public_key_jwk) {
+bool ConvertSpkiFromDerToJwk(const base::StringPiece& spki_der,
+ base::DictionaryValue* public_key_jwk) {
public_key_jwk->Clear();
crypto::EnsureOpenSSLInit();
« no previous file with comments | « net/cert/ct_objects_extractor_openssl.cc ('k') | net/cert/jwk_serializer_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698