openssl/crypto/dsa
Matt Caswell 1dc5128577 Fix no-dh
One of the x509 tests checks to make sure spurious errors don't appear on
the stack. The x509 app uses the OSSL_STORE code to load things. The
OSSL_STORE code will try various different formats - which results in
lots of failures. However those failures are typically suppressed by
OSSL_STORE unless they are interesting. OSSL_STORE thinks it knows what
kind of errors are uninteresting (ASN.1 errors) but gets confused if
upper levels of code add additional errors to the stack. This was
happening in the DSA code which confused OSSL_STORE and meant the errors
were not being suppressed properly - and hence the x509 test failed.

Interestingly this only impacts a no-dh build, because in a no-dh build
the DSA param decoder suddenly becomes the last to be tried. If it
happens earlier in the list the errors end up getting suppressed anyway.

The simplest solution is to just to remove the error from the DSA param
decoder code. It's not adding any useful information anyway.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13162)
2020-10-19 16:11:40 +01:00
..
build.info Use build.info, not ifdef for crypto modules 2020-04-16 13:52:22 +02:00
dsa_ameth.c Fix no-dh 2020-10-19 16:11:40 +01:00
dsa_asn1.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_backend.c Add DSA keygen to provider 2020-04-15 21:02:52 +10:00
dsa_check.c ffc: add _ossl to exported but internal functions 2020-10-06 09:04:19 +10:00
dsa_depr.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_err.c Generate error queue entry on FFC_CHECK_BAD_LN_PAIR for DH and DSA 2020-06-10 11:08:21 +02:00
dsa_gen.c ffc: add _ossl to exported but internal functions 2020-10-06 09:04:19 +10:00
dsa_key.c ffc: add _ossl to exported but internal functions 2020-10-06 09:04:19 +10:00
dsa_lib.c Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
dsa_local.h Rename OPENSSL_CTX prefix to OSSL_LIB_CTX 2020-10-15 11:59:53 +01:00
dsa_meth.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_ossl.c ffc: add _ossl to exported but internal functions 2020-10-06 09:04:19 +10:00
dsa_pmeth.c ffc: add _ossl to exported but internal functions 2020-10-06 09:04:19 +10:00
dsa_prn.c Update copyright year 2020-04-23 13:55:52 +01:00
dsa_sign.c der: _ossl prefix DER functions 2020-10-01 11:25:12 +10:00
dsa_vrf.c Update copyright year 2020-04-23 13:55:52 +01:00