]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix #515: Compilation against openssl 3.0.0 beta2 is failing to
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 30 Jul 2021 11:35:23 +0000 (13:35 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 30 Jul 2021 11:35:23 +0000 (13:35 +0200)
  build unbound.

doc/Changelog
smallapp/unbound-control.c

index 82fd320e78d20a401abbd8861965f626bf3d8758..a2821b44dc20f8ed2cb87a02b1682a7ddffbf710 100644 (file)
@@ -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
index af72f2a4ef9e5b962a71484aa0bbcbb64ee810c7..a3df2579584395184b8df44712a68e3d1a1e95ed 100644 (file)
@@ -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);