PR: 2470
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:38:21 +0000 (15:38 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:38:21 +0000 (15:38 +0000)
Submitted by: Corinna Vinschen <vinschen@redhat.com>
Reviewed by: steve

Don't call ERR_remove_state from DllMain.

crypto/cryptlib.c

index 8bc5189c162587335a1cac3e76c4b14edc45522d..d4b236284e1c3db49ac9e9ee285889a836b3d6ae 100644 (file)
@@ -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;