Add missing '#ifndef NO_DSA'.
authorBodo Möller <bodo@openssl.org>
Thu, 22 Mar 2001 15:13:43 +0000 (15:13 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 22 Mar 2001 15:13:43 +0000 (15:13 +0000)
Submitted by: "Hellan,Kim KHE" <KHE@kmd.dk>

apps/x509.c

index 76dd66db86250b039e8af0a51b1a286e86d0c5ca..9d09d7588905522dcad47849c221c03ea9157c9f 100644 (file)
@@ -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);