From 72a37c03beca1b1a28a9f5cb3d9b2ece76168b99 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Mon, 29 Jul 2002 13:28:57 +0000 Subject: [PATCH] Only use DSA-functions if available. Submitted by: "Hellan,Kim KHE" Reviewed by: PR: 167 --- apps/x509.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/x509.c b/apps/x509.c index dce5f32630..a797da0ffa 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -915,8 +915,10 @@ bad: BIO_printf(bio_err,"Generating certificate request\n"); +#ifndef OPENSSL_NO_DSA if (pk->type == EVP_PKEY_DSA) digest=EVP_dss1(); +#endif rq=X509_to_X509_REQ(x,pk,digest); EVP_PKEY_free(pk); -- 2.25.1