synchronize with engine branch (some changes were done only
[oweals/openssl.git] / 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);