PR: 2470
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:38:40 +0000 (15:38 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:38:40 +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 a453475fdbcacea50678810db511d465881f02c5..072b341ca215e2af5a1ca0d20590e52bdb4ed951 100644 (file)
@@ -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;