aboutsummaryrefslogtreecommitdiff
path: root/crypto/asn1/t_spki.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/t_spki.c')
-rw-r--r--crypto/asn1/t_spki.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/t_spki.c b/crypto/asn1/t_spki.c
index 23ab3b9..c2a5797 100644
--- a/crypto/asn1/t_spki.c
+++ b/crypto/asn1/t_spki.c
@@ -60,8 +60,12 @@
#include "cryptlib.h"
#include <openssl/x509.h>
#include <openssl/asn1.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
+#endif
#include <openssl/bn.h>
/* Print out an SPKI */