[xmlsec] don't create files on xmlsec-mscrypto when loading the key (bug #633924)
- From: Aleksey Sanin <aleksey src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xmlsec] don't create files on xmlsec-mscrypto when loading the key (bug #633924)
- Date: Fri, 23 May 2014 21:04:17 +0000 (UTC)
commit c098aed450a8ae272efad1fdeaa2450b67a2f46f
Author: Aleksey Sanin <aleksey aleksey com>
Date: Fri May 23 10:28:26 2014 -0700
don't create files on xmlsec-mscrypto when loading the key (bug #633924)
src/mscrypto/app.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mscrypto/app.c b/src/mscrypto/app.c
index 92894d9..8240983 100644
--- a/src/mscrypto/app.c
+++ b/src/mscrypto/app.c
@@ -622,7 +622,7 @@ xmlSecMSCryptoAppPkcs12LoadMemory(const xmlSecByte* data,
goto done;
}
- hCertStore = PFXImportCertStore(&pfx, wcPwd, CRYPT_EXPORTABLE);
+ hCertStore = PFXImportCertStore(&pfx, wcPwd, CRYPT_EXPORTABLE | PKCS12_NO_PERSIST_KEY);
if (NULL == hCertStore) {
xmlSecError(XMLSEC_ERRORS_HERE,
NULL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]