Make the algorithm implementations depend on the corresponding
[oweals/openssl.git] / crypto / asn1 / d2i_r_pu.c
index e8ca78219068b539f592ab5f3775f354caa1c7a3..9e5d41cf5318e18b1d0c12e7558f773aeb05c258 100644 (file)
@@ -64,7 +64,7 @@
 #include <openssl/objects.h>
 #include <openssl/asn1_mac.h>
 
-#ifdef NEG_PUBKEY_BUG
+#ifndef NO_NEG_PUBKEY_BUG
 #define d2i_ASN1_INTEGER d2i_ASN1_UINTEGER
 #endif
 
@@ -94,4 +94,10 @@ err:
        if (bs != NULL) M_ASN1_INTEGER_free(bs);
        return(NULL);
        }
+#else /* !NO_RSA */
+
+# if PEDANTIC
+static void *dummy=&dummy;
+# endif
+
 #endif