Juan Lang : crypt32: Get rid of an unused key.
Alexandre Julliard
julliard at winehq.org
Fri Oct 19 08:35:47 CDT 2007
Module: wine
Branch: master
Commit: cc88619f86f8e8e3edef83e57ed362d05930afd8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=cc88619f86f8e8e3edef83e57ed362d05930afd8
Author: Juan Lang <juan.lang at gmail.com>
Date: Thu Oct 18 20:48:01 2007 -0700
crypt32: Get rid of an unused key.
---
dlls/crypt32/msg.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c
index 38abd48..193396f 100644
--- a/dlls/crypt32/msg.c
+++ b/dlls/crypt32/msg.c
@@ -801,7 +801,6 @@ typedef struct _CSignerHandles
{
HCRYPTHASH contentHash;
HCRYPTHASH authAttrHash;
- HCRYPTKEY key;
} CSignerHandles;
typedef struct _CSignedMsgData
@@ -858,8 +857,6 @@ static void CSignedMsgData_CloseHandles(CSignedMsgData *msg_data)
for (i = 0; i < msg_data->info->cSignerInfo; i++)
{
- if (msg_data->signerHandles[i].key)
- CryptDestroyKey(msg_data->signerHandles[i].key);
if (msg_data->signerHandles[i].contentHash)
CryptDestroyHash(msg_data->signerHandles[i].contentHash);
if (msg_data->signerHandles[i].authAttrHash)
More information about the wine-cvs
mailing list