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

Unified Diff: remoting/base/rsa_key_pair.cc

Issue 27832002: Sign self-signed certs with SHA256. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 2 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
« net/cert/x509_util_nss.cc ('K') | « net/ssl/server_bound_cert_service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/base/rsa_key_pair.cc
===================================================================
--- remoting/base/rsa_key_pair.cc (revision 229411)
+++ remoting/base/rsa_key_pair.cc (working copy)
@@ -93,7 +93,7 @@
std::string RsaKeyPair::GenerateCertificate() const {
std::string der_cert;
- net::x509_util::CreateSelfSignedCert(
+ net::x509_util::CreateSha1SelfSignedCert(
key_.get(),
"CN=chromoting",
base::RandInt(1, std::numeric_limits<int>::max()),
« net/cert/x509_util_nss.cc ('K') | « net/ssl/server_bound_cert_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698