aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/t_req.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/asn1/t_req.c')
-rw-r--r--crypto/asn1/t_req.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/asn1/t_req.c b/crypto/asn1/t_req.c
index 204ca105e3..c779a9bb18 100644
--- a/crypto/asn1/t_req.c
+++ b/crypto/asn1/t_req.c
@@ -63,8 +63,12 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
#include <openssl/x509v3.h>
+#ifndef OPENSSL_NO_RSA
#include <openssl/rsa.h>
+#endif
+#ifndef OPENSSL_NO_DSA
#include <openssl/dsa.h>
+#endif
#ifndef OPENSSL_NO_FP_API
int X509_REQ_print_fp(FILE *fp, X509_REQ *x)