summaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-01-02 01:53:06 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-01-02 01:53:06 +0000
commitc35f549e8be6e3ceaf5bfc2536103d763234135b (patch)
tree0653fc5e9df6d405e11ecf0dc4830729b8b1b319 /apps/ca.c
parentebc828cad9e3b95723a123548becad832e0d0fc8 (diff)
Move DSA test in ca.c inside #ifdef and make pubkey BIT STRING always have
zero unused bits.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 67b7561c4f..21592412ba 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1694,9 +1694,9 @@ again2:
}
}
- if (pkey->type == EVP_PKEY_DSA) dgst=EVP_dss1();
#ifndef NO_DSA
+ if (pkey->type == EVP_PKEY_DSA) dgst=EVP_dss1();
pktmp=X509_get_pubkey(ret);
if (EVP_PKEY_missing_parameters(pktmp) &&
!EVP_PKEY_missing_parameters(pkey))