Package not found: devel:languages:haskell/ghc-tf-random

File coturn-no-fips-mode.patch of Package failed_coturn

*** Begin Patch
*** Update File: src/client/ns_turn_msg.c
@@
-                if (FIPS_mode()) {
-                    /* If libcrypto is running in FIPS mode it forbids some
-                     * operations which we may use here.  Skip the logic if
-                     * FIPS mode is enabled. */
-                    }
+                /* Some OpenSSL builds (notably OpenSSL 3.x in some
+                 * distributions) do not expose FIPS_mode() in the public
+                 * headers, which leads to implicit declaration errors at
+                 * build time. To remain compatible with those environments
+                 * avoid calling FIPS_mode(); assume non-FIPS mode instead. */
+                if (0) {
+                    /* original FIPS-specific branch intentionally skipped */
+                }
*** End Patch
openSUSE Build Service is sponsored by