Reformat/tidy some of the ASN1 code.
[openssl.git] / crypto / rsa / rsa_depr.c
index 3773d037c658becab981fa35182b4cf34e39c525..2d87cd39f31965a5584690cc11de726d59b609a2 100644 (file)
@@ -62,6 +62,9 @@
 #include <openssl/bn.h>
 #include <openssl/rsa.h>
 
+static void *dummy=&dummy;
+
+#ifndef OPENSSL_NO_DEPRECATED
 RSA *RSA_generate_key(int bits, unsigned long e_value,
             void (*callback)(int,int,void *), void *cb_arg)
        {
@@ -78,4 +81,4 @@ RSA *RSA_generate_key(int bits, unsigned long e_value,
        RSA_free(rsa);
        return 0;
        }
-
+#endif