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