aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/dh/dh_gen.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/dh/dh_gen.c')
-rw-r--r--crypto/openssl/crypto/dh/dh_gen.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/dh/dh_gen.c b/crypto/openssl/crypto/dh/dh_gen.c
index 06f78b35ab71..a49b6f9adb83 100644
--- a/crypto/openssl/crypto/dh/dh_gen.c
+++ b/crypto/openssl/crypto/dh/dh_gen.c
@@ -86,6 +86,9 @@
* It's just as OK (and in some sense better) to use a generator of the
* order-q subgroup.
*/
+
+#ifndef OPENSSL_FIPS
+
DH *DH_generate_parameters(int prime_len, int generator,
void (*callback)(int,int,void *), void *cb_arg)
{
@@ -167,3 +170,5 @@ err:
}
return(ret);
}
+
+#endif