From: Dr. Stephen Henson Date: Wed, 22 Jun 2011 15:38:21 +0000 (+0000) Subject: PR: 2470 X-Git-Tag: OpenSSL-fips-2_0-rc1~298 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=9a4be8238870eeb833bbed5e755f5166f38e0ed3 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 8bc5189c16..d4b236284e 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -208,9 +208,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: -#ifndef OPENSSL_FIPS - ERR_remove_state(0); -#endif break; case DLL_PROCESS_DETACH: break;