openssl/crypto/encode_decode
Matt Caswell 669967fdd8 Don't try the same decoder multiple times
The function collect_decoder decides whether a given decoder should be
tried or not. It loops through all the names for matching keymgmts to
see if any are a match or not. If there is a match then the decoder gets
added. However, each keymgmt may have multiple aliases and a decoder was
being added for each one. For example DHX has 4 alias names, and therefore
4 instances of the DHX decoder were added and being tried.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15404)
2021-05-24 09:39:27 +01:00
..
build.info
decoder_err.c Better error messages if there are no encoders/decoders/store loaders 2021-05-18 15:30:25 +01:00
decoder_lib.c Better error messages if there are no encoders/decoders/store loaders 2021-05-18 15:30:25 +01:00
decoder_meth.c encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
decoder_pkey.c Don't try the same decoder multiple times 2021-05-24 09:39:27 +01:00
encoder_err.c ERR: Rebuild all generated error headers and source files 2020-11-24 15:22:33 +01:00
encoder_lib.c Better error messages if there are no encoders/decoders/store loaders 2021-05-18 15:30:25 +01:00
encoder_local.h encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
encoder_meth.c encoder: add a _name() function for encoders and decoders 2021-05-12 18:40:57 +10:00
encoder_pkey.c Fix NULL dereference when ENCODER does not implement IMPORT_OBJECT 2021-05-06 17:03:41 +02:00