[openssl/openssl] 17dd9a: OSSL_STORE: Fix error flag clearing and setting (p...
noreply at github.com
Fri Sep 8 06:34:43 UTC 2023
Author: Richard Levitte <levitte at openssl.org>
Date: 2023-09-08 (Fri, 08 Sep 2023)
OSSL_STORE: Fix error flag clearing and setting (provider path only)
When the provider's load function returned with an error, the libcrypto
error flag was only set if EOF hadn't been reached. This is troublesome,
as an error can very well occur during the last load before EOF is reached!
Also, the error flag was never reset, even though documentation specifies
that it should indicate an error in the last load (i.e. not the one before
Reviewed-by: Dmitry Belyavskiy <beldmit at gmail.com>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21976)
More information about the openssl-commits