File fips-mode.patch of Package saltbundlepy-cryptography

--- a/src/_cffi_src/openssl/fips.py
+++ b/src/_cffi_src/openssl/fips.py
@@ -18,6 +18,14 @@
 """
 
 CUSTOMIZATIONS = """
+int FIPS_mode_set(int) {
+    return 0;
+}
+
+int FIPS_mode(void) {
+    return 0;
+}
+
 #if CRYPTOGRAPHY_IS_LIBRESSL
 static const long Cryptography_HAS_FIPS = 0;
 int (*FIPS_mode_set)(int) = NULL;
openSUSE Build Service is sponsored by