crypt32: Get rid of an unused key.
This commit is contained in:
parent
6763841e19
commit
cc88619f86
|
@ -801,7 +801,6 @@ typedef struct _CSignerHandles
|
||||||
{
|
{
|
||||||
HCRYPTHASH contentHash;
|
HCRYPTHASH contentHash;
|
||||||
HCRYPTHASH authAttrHash;
|
HCRYPTHASH authAttrHash;
|
||||||
HCRYPTKEY key;
|
|
||||||
} CSignerHandles;
|
} CSignerHandles;
|
||||||
|
|
||||||
typedef struct _CSignedMsgData
|
typedef struct _CSignedMsgData
|
||||||
|
@ -858,8 +857,6 @@ static void CSignedMsgData_CloseHandles(CSignedMsgData *msg_data)
|
||||||
|
|
||||||
for (i = 0; i < msg_data->info->cSignerInfo; i++)
|
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)
|
if (msg_data->signerHandles[i].contentHash)
|
||||||
CryptDestroyHash(msg_data->signerHandles[i].contentHash);
|
CryptDestroyHash(msg_data->signerHandles[i].contentHash);
|
||||||
if (msg_data->signerHandles[i].authAttrHash)
|
if (msg_data->signerHandles[i].authAttrHash)
|
||||||
|
|
Loading…
Reference in New Issue