diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2011-02-04 00:12:04 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2011-02-04 00:12:04 +0100 |
commit | 06b433acade4732a7f647faace14dfd6950ac49c (patch) | |
tree | 95d88f468a08bed0895ad80d86650bc4753c83d8 /crypto/cryptlib.c | |
parent | Transfer error redirection to fips.h, add OPENSSL_FIPSAPI to source files (diff) | |
download | openssl-06b433acade4732a7f647faace14dfd6950ac49c.tar.xz openssl-06b433acade4732a7f647faace14dfd6950ac49c.zip |
Add FIPS support to the WIN32 build system.
Diffstat (limited to 'crypto/cryptlib.c')
-rw-r--r-- | crypto/cryptlib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index d52caa49ef..8bc5189c16 100644 --- a/crypto/cryptlib.c +++ b/crypto/cryptlib.c @@ -208,7 +208,9 @@ 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; |