openssl/crypto
Richard Levitte ecd699b6da STORE: Fix OSSL_STORE_open_ex() error reporting
OSSL_STORE_open_ex() could result in reports like this:

    80722AA3927F0000:error:80000002:system library:file_open_ex:No such file or directory:engines/e_loader_attic.c:1016:calling stat(file:test/blahdibleh.der)
    80722AA3927F0000:error:41800069:lib(131)::path must be absolute:engines/e_loader_attic.c:1010:test/blahdibleh.der
    80722AA3927F0000:error:1600007B:STORE routines:OSSL_STORE_open_ex:no loaders found:crypto/store/store_lib.c:148:No store loaders were found. For standard store loaders you need at least one of the default or base providers available. Did you forget to load them?

The last one turns out to be a bit too generically reported.  It
should only be reported when no loader were loaded at all, not when
loader_ctx happens to be NULL (which may happen for other reasons).

We also move the helpful message to the OSSL_STORE_LOADER fetcher.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15820)
2021-06-20 19:59:40 +02:00
..
aes Update copyright year 2021-06-17 13:24:59 +01:00
aria
asn1 asn1: fix indentation 2021-06-19 15:54:06 +10:00
async Update copyright year 2021-06-17 13:24:59 +01:00
bf
bio Update copyright year 2021-06-17 13:24:59 +01:00
bn Update copyright year 2021-06-17 13:24:59 +01:00
buffer Update copyright year 2021-06-17 13:24:59 +01:00
camellia
cast
chacha Update copyright year 2021-06-17 13:24:59 +01:00
cmac
cmp Update copyright year 2021-06-17 13:24:59 +01:00
cms remove end of line whitespace 2021-06-15 19:01:00 +10:00
comp Update copyright year 2021-06-17 13:24:59 +01:00
conf Update copyright year 2021-06-17 13:24:59 +01:00
crmf Update copyright year 2021-06-17 13:24:59 +01:00
ct Update copyright year 2021-06-17 13:24:59 +01:00
des
dh Fix DH private key check. 2021-06-16 11:25:24 +01:00
dsa
dso Update copyright year 2021-06-17 13:24:59 +01:00
ec Update copyright year 2021-06-17 13:24:59 +01:00
encode_decode Update copyright year 2021-06-17 13:24:59 +01:00
engine Update copyright year 2021-06-17 13:24:59 +01:00
err Update copyright year 2021-06-17 13:24:59 +01:00
ess
evp Update copyright year 2021-06-17 13:24:59 +01:00
ffc Update copyright year 2021-06-17 13:24:59 +01:00
hmac
http http_client.c: fix HTTP_VERSION_STR_LEN and make it more efficient 2021-06-18 14:29:19 +02:00
idea
kdf
lhash
md2
md4
md5
mdc2
modes
objects Update copyright year 2021-06-17 13:24:59 +01:00
ocsp Update copyright year 2021-06-17 13:24:59 +01:00
pem Update copyright year 2021-06-17 13:24:59 +01:00
perlasm Update copyright year 2021-06-17 13:24:59 +01:00
pkcs7 Update copyright year 2021-06-17 13:24:59 +01:00
pkcs12 Update copyright year 2021-06-17 13:24:59 +01:00
poly1305
property crypto: repalce tabs with spaces 2021-06-19 15:54:06 +10:00
rand Update copyright year 2021-06-17 13:24:59 +01:00
rc2
rc4
rc5
ripemd
rsa Replace non-ASCII character in source file 2021-06-19 22:04:34 +10:00
seed Update copyright year 2021-06-17 13:24:59 +01:00
sha Include a local static buffer for the SHA helper functions 2021-06-16 18:30:28 +10:00
siphash
sm2
sm3
sm4
srp
stack
store STORE: Fix OSSL_STORE_open_ex() error reporting 2021-06-20 19:59:40 +02:00
ts Update copyright year 2021-06-17 13:24:59 +01:00
txt_db
ui Update copyright year 2021-06-17 13:24:59 +01:00
whrlpool
x509 Update copyright year 2021-06-17 13:24:59 +01:00
alphacpuid.pl
arm64cpuid.pl
arm_arch.h
armcap.c Use getauxval on Android with API level > 18 2021-06-15 12:53:26 +02:00
armv4cpuid.pl
asn1_dsa.c
bsearch.c
build.info FIPS: don't include crypto/passphrase.c in libfips.a 2021-06-05 10:32:13 +02:00
c64xpluscpuid.pl
context.c
core_algorithm.c
core_fetch.c CORE: Do a bit of cleanup of core fetching 2021-06-16 12:32:53 +01:00
core_namemap.c
cpt_err.c
cpuid.c
cryptlib.c
ctype.c
cversion.c
der_writer.c
dllmain.c
ebcdic.c
ex_data.c
getenv.c
ia64cpuid.S
info.c
init.c
initthread.c
LPdir_nyi.c
LPdir_unix.c
LPdir_vms.c
LPdir_win32.c
LPdir_win.c
LPdir_wince.c
mem_clr.c
mem_sec.c
mem.c
mips_arch.h
o_dir.c
o_fopen.c
o_init.c
o_str.c
o_time.c
packet.c Update copyright year 2021-06-17 13:24:59 +01:00
param_build_set.c
param_build.c
params_dup.c
params_from_text.c
params.c params: fix range check when converting double to uint64_t. 2021-06-19 15:47:57 +10:00
pariscid.pl
passphrase.c
ppc_arch.h
ppccap.c
ppccpuid.pl
provider_child.c
provider_conf.c
provider_core.c Add various OBJ functions as callbacks 2021-06-16 15:04:50 +10:00
provider_local.h
provider_predefined.c
provider.c
punycode.c
README-sparse_array.md
s390x_arch.h
s390xcap.c
s390xcpuid.pl
self_test_core.c
sparc_arch.h
sparccpuid.S
sparcv9cap.c Update copyright year 2021-06-17 13:24:59 +01:00
sparse_array.c
threads_lib.c
threads_none.c
threads_pthread.c
threads_win.c
trace.c
uid.c
vms_rms.h
x86_64cpuid.pl
x86cpuid.pl