Branch: refs/heads/master Home: https://github.com/openssl/openssl Commit: 2d23ba14630551ee347acafcab81fa1a290c6504 https://github.com/openssl/openssl/commit/2d23ba14630551ee347acafcab81fa1a290c6504 Author: Richard Levitte <levi...@openssl.org> Date: 2022-10-20 (Thu, 20 Oct 2022)
Changed paths: M crypto/provider_core.c Log Message: ----------- Finer grained error records for provider load/init failures When a provider is activated, these three cases would record that the provider init function failed (implying that it was called): - failure to load the provider module (in case it's a dynamically loadable module) - the init function not being present (i.e. being NULL) - the init function being called and returning an error indication (i.e. returning a false value) This is confusing. Separating the three cases so that they record different errors will make it easier to determine causes of failure. Reviewed-by: Dmitry Belyavskiy <beld...@gmail.com> Reviewed-by: Matt Caswell <m...@openssl.org> Reviewed-by: Tomas Mraz <to...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19419)