Commit 1626da2b authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Free default chain engine.

parent b1237257
...@@ -126,6 +126,7 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void); ...@@ -126,6 +126,7 @@ HCRYPTPROV CRYPT_GetDefaultProvider(void);
void crypt_oid_init(HINSTANCE hinst); void crypt_oid_init(HINSTANCE hinst);
void crypt_oid_free(void); void crypt_oid_free(void);
void crypt_sip_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 /* Some typedefs that make it easier to abstract which type of context we're
* working with. * working with.
......
...@@ -44,6 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved) ...@@ -44,6 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved)
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
crypt_oid_free(); crypt_oid_free();
crypt_sip_free(); crypt_sip_free();
default_chain_engine_free();
if (hDefProv) CryptReleaseContext(hDefProv, 0); if (hDefProv) CryptReleaseContext(hDefProv, 0);
break; break;
} }
......
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