From: NAKAMURA Takumi Date: Mon, 17 Jan 2011 22:41:34 +0000 (+0000) Subject: Windows/PathV2.inc: For CryptAcquireContext(), CRYPT_VERIFYCONTEXT may be specified... X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=edd0924d8452ee06ba0f27c7d42f92cddc830d48;p=oota-llvm.git 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 --- diff --git a/lib/Support/Windows/PathV2.inc b/lib/Support/Windows/PathV2.inc index a631bc6fbaa..b36b291c395 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);