Skip to content

Commit

Permalink
- Fix #515: Compilation against openssl 3.0.0 beta2 is failing to
Browse files Browse the repository at this point in the history
  build unbound.
  • Loading branch information
wcawijngaards committed Jul 30, 2021
1 parent dd25413 commit 11caae2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions 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
Expand Down
4 changes: 1 addition & 3 deletions smallapp/unbound-control.c
Expand Up @@ -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);
Expand Down

0 comments on commit 11caae2

Please sign in to comment.