Add RFC 3779 support, contributed by ARIN.
[oweals/openssl.git] / crypto / asn1 / x_pubkey.c
index 50faa4af204a229c90084f9cbc7026021065f34e..91c2756116111e8e17fe1021e4f70b2b4b90bdf6 100644 (file)
 #include "cryptlib.h"
 #include <openssl/asn1t.h>
 #include <openssl/x509.h>
+#ifndef OPENSSL_NO_RSA
 #include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
 #include <openssl/dsa.h>
+#endif
 
 /* Minor tweak to operation: free up EVP_PKEY */
 static int pubkey_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it)