Windows/PathV2.inc: For CryptAcquireContext(), CRYPT_VERIFYCONTEXT may be specified...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 17 Jan 2011 22:41:34 +0000 (22:41 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 17 Jan 2011 22:41:34 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123687 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Support/Windows/PathV2.inc

index a631bc6fbaaf9c5abd6fa8d336a7b64b6cadf1cd..b36b291c39517f53f22352c4ad33af9e593751d3 100644 (file)
@@ -525,7 +525,7 @@ error_code unique_file(const Twine &model, int &result_fd,
                               NULL,
                               NULL,
                               PROV_RSA_FULL,
-                              0))
+                              CRYPT_VERIFYCONTEXT))
     return windows_error(::GetLastError());
   ScopedCryptContext CryptoProvider(HCPC);