bn_div.c: remove duplicate code by merging BN_div and BN_div_no_branch.
[openssl.git] / crypto / bn / bn_depr.c
index 35e912728815717a3eab7ddae2d48238dbfa6675..27535e4fca00810485d1a1813313d3e3b90b92e2 100644 (file)
@@ -62,6 +62,9 @@
 #include "bn_lcl.h"
 #include <openssl/rand.h>
 
+static void *dummy=&dummy;
+
+#ifndef OPENSSL_NO_DEPRECATED
 BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe,
        const BIGNUM *add, const BIGNUM *rem,
        void (*callback)(int,int,void *), void *cb_arg)
@@ -106,3 +109,4 @@ int BN_is_prime_fasttest(const BIGNUM *a, int checks,
        return BN_is_prime_fasttest_ex(a, checks, ctx_passed,
                                do_trial_division, &cb);
        }
+#endif