Commit 9a4be823 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

PR: 2470

Submitted by: Corinna Vinschen <vinschen@redhat.com>
Reviewed by: steve

Don't call ERR_remove_state from DllMain.
parent 861a7e5c
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;