DescriptionPass CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG instead of
CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG to
CryptAcquireCertificatePrivateKey to fix a regression in
client authentication if TLS 1.2 is negotiated.
If a client private key is stored in a CAPI provider of
the PROV_RSA_FULL provider type, it cannot sign SHA-256
hashes. Using the private key through CNG solves this
problem.
R=rsleevi@chromium.org
BUG=246043
TEST=See bug 246043
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203798
Patch Set 1 #Patch Set 2 : Use private keys through CNG as rsleevi suggested #Messages
Total messages: 7 (0 generated)
|