Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Catch errors from EVP_Digest* functions
In OpenSSL 3.0 digest init can fail simply because a legacy provider is not loaded of FIPS mode is active and the digest is not allowed. If the errors are not handled the application may crash later trying to access uninitialized contexts. Signed-off-by: Simo Sorce <simo@redhat.com>
- Loading branch information