openssl/crypto/store
Richard Levitte 1f3af48c31 Fix OSSL_STORE to consider cached info in the EOF check.
OSSL_STORE_load() called OSSL_STORE_eof() before checking if there is
cached OSSL_STORE_INFO to consider.  To fix this issue, the cached info
check is moved to OSSL_STORE_eof(), as that seems to make most common
sense.

This solves an issue with PKCS#12 files, where the cached info was never
considered because the underlying file IO layer signaled that EOF is
reached.

Fixes #28010

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/28016)
2025-07-26 11:33:56 +02:00
..
build.info
store_err.c
store_init.c
store_lib.c Fix OSSL_STORE to consider cached info in the EOF check. 2025-07-26 11:33:56 +02:00
store_local.h
store_meth.c Add verbose output to 'openssl list -store-loaders' 2025-04-28 17:19:55 +02:00
store_register.c
store_result.c libapps + libcrypto: Silence warnings on Win64 builds 2025-07-02 17:26:26 +02:00
store_strings.c Copyright year updates 2024-09-05 09:35:49 +02:00