Commit e94cae61 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Fix a leaked key.

parent f64d6004
...@@ -5746,6 +5746,7 @@ static void testExportPublicKey(HCRYPTPROV csp, PCERT_PUBLIC_KEY_INFO *pInfo) ...@@ -5746,6 +5746,7 @@ static void testExportPublicKey(HCRYPTPROV csp, PCERT_PUBLIC_KEY_INFO *pInfo)
} }
} }
} }
CryptDestroyKey(key);
} }
static const BYTE expiredCert[] = { 0x30, 0x82, 0x01, 0x33, 0x30, 0x81, 0xe2, static const BYTE expiredCert[] = { 0x30, 0x82, 0x01, 0x33, 0x30, 0x81, 0xe2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment