]> git.ipfire.org Git - thirdparty/openssl.git/commit
Use centralized fetching errors
authorRichard Levitte <levitte@openssl.org>
Sat, 17 Oct 2020 05:07:41 +0000 (07:07 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 12 Jan 2021 18:02:11 +0000 (19:02 +0100)
commitd6d42cda5fbc05aeaadf8c760db60e9089e3609b
tree273838dfcbed4ddcd97b287a8db2187508536e13
parent0d11846e4b2850773d1ee0df206608549a7d45d0
Use centralized fetching errors

We've spread around FETCH_FAILED errors in quite a few places, and
that gives somewhat crude error records, as there's no way to tell if
the error was unavailable algorithms or some other error at such high
levels.

As an alternative, we take recording of these kinds of errors down to
the fetching functions, which are in a much better place to tell what
kind of error it was, thereby relieving the higher level calls from
having to guess.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13467)
crypto/context.c
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_meth.c
crypto/err/err.c
crypto/err/openssl.txt
crypto/evp/evp_err.c
crypto/evp/evp_fetch.c
crypto/store/store_meth.c
include/internal/cryptlib.h
include/openssl/err.h.in
include/openssl/evperr.h