diff options
author | Viktor Szakats <commit@vsz.me> | 2020-03-17 23:06:05 +0000 |
---|---|---|
committer | Viktor Szakats <commit@vsz.me> | 2020-03-17 23:08:02 +0000 |
commit | 7284061361e32d6f4d6308bf41d751601d101ba2 (patch) | |
tree | 3525264e37d45147347f11ba918a484e85960b35 /lib/vtls | |
parent | ab9dc5ae2a86e42bb087986587e68cefdf76531d (diff) |
windows: suppress UI in all CryptAcquireContext() calls
Ref: https://docs.microsoft.com/windows/win32/api/wincrypt/nf-wincrypt-cryptacquirecontexta#parameters
Reviewed-by: Marc Hörsken
Closes https://github.com/curl/curl/pull/5088
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/schannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index f665ee340..3b9aef47c 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -2203,7 +2203,7 @@ static void Curl_schannel_checksum(const unsigned char *input, memset(checksum, 0, checksumlen); if(!CryptAcquireContext(&hProv, NULL, NULL, provType, - CRYPT_VERIFYCONTEXT)) + CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) return; /* failed */ do { |