aboutsummaryrefslogtreecommitdiff
path: root/providers/fips/self_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/fips/self_test.c')
-rw-r--r--providers/fips/self_test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/providers/fips/self_test.c b/providers/fips/self_test.c
index 008a4fac847f..aa5a8c765811 100644
--- a/providers/fips/self_test.c
+++ b/providers/fips/self_test.c
@@ -1,5 +1,5 @@
/*
- * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2026 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
@@ -101,7 +101,9 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
init();
break;
case DLL_PROCESS_DETACH:
+#ifndef __CYGWIN__
cleanup();
+#endif
break;
default:
break;