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

Don't call ERR_remove_state from DllMain.

crypto/cryptlib.c

index 14bae0d08c11ac92f9110c8908ad726a1d13b3b6..24fe123e143b1b667bebba0d57ac3e84881097c3 100644 (file)
@@ -731,7 +731,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;