From: Lutz Jänicke Date: Mon, 29 Jul 2002 13:28:57 +0000 (+0000) Subject: Only use DSA-functions if available. X-Git-Tag: OpenSSL_0_9_7-beta3~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=72a37c03beca1b1a28a9f5cb3d9b2ece76168b99;p=oweals%2Fopenssl.git Only use DSA-functions if available. Submitted by: "Hellan,Kim KHE" Reviewed by: PR: 167 --- 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);