summaryrefslogtreecommitdiffstats
path: root/crypto/cryptlib.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-06-22 15:38:21 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-06-22 15:38:21 +0000
commit9a4be8238870eeb833bbed5e755f5166f38e0ed3 (patch)
tree89b32cbd5c50ffd8e1344412eaf4f407e42e373c /crypto/cryptlib.c
parent861a7e5c9f40875e61a377780d735896762b62e6 (diff)
PR: 2470
Submitted by: Corinna Vinschen <vinschen@redhat.com> Reviewed by: steve Don't call ERR_remove_state from DllMain.
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r--crypto/cryptlib.c3
1 files changed, 0 insertions, 3 deletions
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;