summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2013-04-07 17:23:21 +0100
committerDr. Stephen Henson <steve@openssl.org>2013-04-07 22:50:55 +0100
commit1cbd7456aadce942ff59af95efb1029f92766342 (patch)
treeef108df540e4ac7de3521fc2477688228d57d9e3
parente1e39a24518a59936a349a66f86527ffa829a262 (diff)
Print out DSA key if parameters absent.
In DSA_print DSA parameters can be absent (e.g inherited) it is not a fatal error.
-rw-r--r--crypto/asn1/t_pkey.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/crypto/asn1/t_pkey.c b/crypto/asn1/t_pkey.c
index afb95d6712..bc23f56732 100644
--- a/crypto/asn1/t_pkey.c
+++ b/crypto/asn1/t_pkey.c
@@ -208,11 +208,6 @@ int DSA_print(BIO *bp, const DSA *x, int off)
if (x->p)
buf_len = (size_t)BN_num_bytes(x->p);
- else
- {
- DSAerr(DSA_F_DSA_PRINT,DSA_R_MISSING_PARAMETERS);
- goto err;
- }
if (x->q)
if (buf_len < (i = (size_t)BN_num_bytes(x->q)))
buf_len = i;