tolerate broken CMS/PKCS7 implementations using signature OID instead of digest
[oweals/openssl.git] / crypto / rsa / rsa_gen.c
index 767f7ab682ad8beff40c7234931e5dc4d39b9aa3..41278f83c68d7ddf038f14ab59ef7ad10c724ac5 100644 (file)
@@ -68,6 +68,8 @@
 #include <openssl/bn.h>
 #include <openssl/rsa.h>
 
+#ifndef OPENSSL_FIPS
+
 static int rsa_builtin_keygen(RSA *rsa, int bits, BIGNUM *e_value, BN_GENCB *cb);
 
 /* NB: this wrapper would normally be placed in rsa_lib.c and the static
@@ -217,3 +219,4 @@ err:
        return ok;
        }
 
+#endif