From ae8511d664cb88253152a3755c4a592340859677 Mon Sep 17 00:00:00 2001 From: Bence Mali Date: Mon, 29 Apr 2024 18:56:14 +0200 Subject: [PATCH] Errors not printed when OPENSSL_NO_STDIO is set Signed-off-by: Bence Mali --- src/common/rand/rand_nist.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/rand/rand_nist.c b/src/common/rand/rand_nist.c index 6270a31cc..07db63b3b 100644 --- a/src/common/rand/rand_nist.c +++ b/src/common/rand/rand_nist.c @@ -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