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

Unified Diff: net/socket/ssl_client_socket_nss.cc

Issue 16335021: Turn off TLS 1.2 temporarily to fix a regression in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Use private keys through CNG as rsleevi suggested Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/ssl_client_socket_nss.cc
===================================================================
--- net/socket/ssl_client_socket_nss.cc (revision 203168)
+++ net/socket/ssl_client_socket_nss.cc (working copy)
@@ -1313,7 +1313,7 @@
BOOL must_free = FALSE;
DWORD flags = 0;
if (base::win::GetVersion() >= base::win::VERSION_VISTA)
- flags |= CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG;
+ flags |= CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG;
BOOL acquired_key = CryptAcquireCertificatePrivateKey(
cert_context, flags, NULL, &crypt_prov, &key_spec, &must_free);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698