From: W.C.A. Wijngaards Date: Fri, 30 Jul 2021 11:35:23 +0000 (+0200) Subject: - Fix #515: Compilation against openssl 3.0.0 beta2 is failing to X-Git-Tag: release-1.13.2rc1~16^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=11caae256b0c82a2002162702fe0697f5396baf9;p=thirdparty%2Funbound.git - Fix #515: Compilation against openssl 3.0.0 beta2 is failing to build unbound. --- diff --git a/doc/Changelog b/doc/Changelog index 82fd320e7..a2821b44d 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,7 @@ +30 July 2021: Wouter + - Fix #515: Compilation against openssl 3.0.0 beta2 is failing to + build unbound. + 26 July 2021: George - Merge #513: Stream reuse, attempt to fix #411, #439, #469. This introduces a couple of fixes for the stream reuse functionality diff --git a/smallapp/unbound-control.c b/smallapp/unbound-control.c index af72f2a4e..a3df25795 100644 --- a/smallapp/unbound-control.c +++ b/smallapp/unbound-control.c @@ -499,9 +499,7 @@ static void ssl_path_err(const char* s, const char *path) { unsigned long err; err = ERR_peek_error(); - if (ERR_GET_LIB(err) == ERR_LIB_SYS && - (ERR_GET_FUNC(err) == SYS_F_FOPEN || - ERR_GET_FUNC(err) == SYS_F_FREAD) ) { + if (ERR_GET_LIB(err) == ERR_LIB_SYS) { fprintf(stderr, "error: %s\n%s: %s\n", s, path, ERR_reason_error_string(err)); exit(1);