PR: 2470
authorDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:39:19 +0000 (15:39 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 22 Jun 2011 15:39:19 +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 497d00363e967fdff95720571549cb17f8c77982..dd74ea8855f49f988497f7019b1fc5ad911b5524 100644 (file)
@@ -396,7 +396,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;