summaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-01-17 22:41:34 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-01-17 22:41:34 +0000
commitedd0924d8452ee06ba0f27c7d42f92cddc830d48 (patch)
tree48e0b38f1f461c975fd35c8626e3f1ba4fe06cd5 /lib/Support/Windows
parent8ee48c584d5e54154b0610666ff3b21e840e37a5 (diff)
downloadexternal_llvm-edd0924d8452ee06ba0f27c7d42f92cddc830d48.zip
external_llvm-edd0924d8452ee06ba0f27c7d42f92cddc830d48.tar.gz
external_llvm-edd0924d8452ee06ba0f27c7d42f92cddc830d48.tar.bz2
Windows/PathV2.inc: For CryptAcquireContext(), CRYPT_VERIFYCONTEXT may be specified for easy use.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123687 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Windows')
-rw-r--r--lib/Support/Windows/PathV2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc
index a631bc6..b36b291 100644
--- a/lib/Support/Windows/PathV2.inc
+++ b/lib/Support/Windows/PathV2.inc
@@ -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);