aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>2001-03-22 15:13:43 +0000
committerBodo Möller <bodo@openssl.org>2001-03-22 15:13:43 +0000
commit2006dd12d693499ecbf532748ecbb819868f6951 (patch)
tree3f18b3447448d7d9374378ec311281898b699138 /apps
parent744b9066e278237f57b7665f2979e64049bd2622 (diff)
downloadopenssl-2006dd12d693499ecbf532748ecbb819868f6951.tar.gz
Add missing '#ifndef NO_DSA'.
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk>
Diffstat (limited to 'apps')
-rw-r--r--apps/x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 76dd66db86..9d09d75889 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -867,8 +867,10 @@ bad:
BIO_printf(bio_err,"Generating certificate request\n");
+#ifndef NO_DSA
if (pk->type == EVP_PKEY_DSA)
digest=EVP_dss1();
+#endif
rq=X509_to_X509_REQ(x,pk,digest);
EVP_PKEY_free(pk);