crypt32: Free default chain engine.
This commit is contained in:
parent
b1237257f0
commit
1626da2bba
|
@ -126,6 +126,7 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void);
|
|||
void crypt_oid_init(HINSTANCE hinst);
|
||||
void crypt_oid_free(void);
|
||||
void crypt_sip_free(void);
|
||||
void default_chain_engine_free(void);
|
||||
|
||||
/* Some typedefs that make it easier to abstract which type of context we're
|
||||
* working with.
|
||||
|
|
|
@ -44,6 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved)
|
|||
case DLL_PROCESS_DETACH:
|
||||
crypt_oid_free();
|
||||
crypt_sip_free();
|
||||
default_chain_engine_free();
|
||||
if (hDefProv) CryptReleaseContext(hDefProv, 0);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue