Skip to content

Commit

Permalink
Errors not printed when OPENSSL_NO_STDIO is set (#1774)
Browse files Browse the repository at this point in the history
Signed-off-by: Bence Mali <[email protected]>
  • Loading branch information
bencemali authored May 20, 2024
1 parent 9c097d9 commit 7eecda6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/common/rand/rand_nist.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7eecda6

Please sign in to comment.