]> git.ipfire.org Git - thirdparty/openssl.git/commit
crypto/store/ossl_result.c: Better filtering of errors
authorRichard Levitte <levitte@openssl.org>
Fri, 23 Apr 2021 13:44:39 +0000 (15:44 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 23 Apr 2021 18:22:49 +0000 (20:22 +0200)
commit521a0bf6a11c4cdaef331934e93581d06ce834e1
tree5f72cd5bff7981b5b8f02365ac73b76866f387ec
parente36a4dc476448a2ef212d774be48ce38ea6eb6df
crypto/store/ossl_result.c: Better filtering of errors

The diverse variants of try_XXX() were filtering errors independently
of each other.  It's better done in ossl_store_handle_load_result()
itself, where we have control over the overall success and failure of
the attempts.

Fixes #14973

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/15008)
crypto/store/store_result.c