Fix from 1.0.0-stable.
[oweals/openssl.git] / crypto / dh / dh_check.c
index b8469130045fa2363d338b9eb6e956612ef136bd..316cb9221dffc6b725fb0f08060be9aab62ed106 100644 (file)
@@ -70,6 +70,8 @@
  * should hold.
  */
 
+#ifndef OPENSSL_FIPS
+
 int DH_check(const DH *dh, int *ret)
        {
        int ok=0;
@@ -140,3 +142,5 @@ err:
        if (q != NULL) BN_free(q);
        return(ok);
        }
+
+#endif