From: Dr. Stephen Henson Date: Wed, 22 Jun 2011 15:38:40 +0000 (+0000) Subject: PR: 2470 X-Git-Tag: OpenSSL_1_0_1-beta1~221 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dea113b428dc60c57ee5d4dafaea2ccb32b28a07;p=oweals%2Fopenssl.git PR: 2470 Submitted by: Corinna Vinschen Reviewed by: steve Don't call ERR_remove_state from DllMain. --- diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index a453475fdb..072b341ca2 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -735,7 +735,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: - ERR_remove_state(0); break; case DLL_PROCESS_DETACH: break;