projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1e39a2
)
Print out DSA key if parameters absent.
author
Dr. Stephen Henson
<steve@openssl.org>
Sun, 7 Apr 2013 16:23:21 +0000
(17:23 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 7 Apr 2013 21:50:55 +0000
(22:50 +0100)
In DSA_print DSA parameters can be absent (e.g inherited) it is
not a fatal error.
crypto/asn1/t_pkey.c
patch
|
blob
|
history
diff --git
a/crypto/asn1/t_pkey.c
b/crypto/asn1/t_pkey.c
index afb95d67121a0995b2f7cd3ecf29df0d92f9d0e1..bc23f567327146a6e671633310eb0e1b530fed3e 100644
(file)
--- 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;