]> git.ipfire.org Git - thirdparty/openssl.git/commit
STORE: Discard the error report filter in crypto/store/store_result.c
authorRichard Levitte <levitte@openssl.org>
Fri, 16 Apr 2021 12:34:19 +0000 (14:34 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 21 Apr 2021 08:53:03 +0000 (10:53 +0200)
commit1fbf7079e7aff51d02333aad63593386b27aa209
tree95338f62f992d85a8d238f437ae8575cd4f82612
parent7aef200089fbf4b306d13905d55772d646ceef76
STORE: Discard the error report filter in crypto/store/store_result.c

The error report filter was fragile, as it could potentially have to
be updated when other parts of libcrypto got updated, making a goose
chase and a maintenance problem.

We change this to regard d2i errors as something we don't care so much
about, since they are mainly part of the guessing mechanism.  The
success of the ossl_store_handle_load_result() call is based on
whether an object was actually created or not anyway.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14834)
crypto/store/store_result.c