Errors not printed when OPENSSL_NO_STDIO is set (#1774)

Signed-off-by: Bence Mali <bence.mali@tresorit.com>
This commit is contained in:
Bence Mali 2024-05-20 17:51:32 +02:00 committed by GitHub
parent 9c097d997c
commit 7eecda6095
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -39,7 +39,9 @@ __declspec(noreturn)
__attribute__((noreturn))
# endif
static void handleErrors(void) {
#ifndef OPENSSL_NO_STDIO
OSSL_FUNC(ERR_print_errors_fp)(stderr);
#endif
abort();
}
#endif