Skip to content

Commit

Permalink
- Fix #1126: unbound-control-setup hangs while testing for openssl
Browse files Browse the repository at this point in the history
  presence starting from version 1.21.0.
  • Loading branch information
wcawijngaards committed Aug 19, 2024
1 parent 5fa84d5 commit 015b2b0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/Changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
19 August 2024: Wouter
- Fix #1126: unbound-control-setup hangs while testing for openssl
presence starting from version 1.21.0.

9 August 2024: Wouter
- Fix spelling for the cache-min-negative-ttl entry in the
example.conf.
Expand Down
2 changes: 1 addition & 1 deletion smallapp/unbound-control-setup.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ while getopts 'd:hr' arg; do
done
shift $((OPTIND - 1))

if ! openssl >/dev/null 2>&1; then
if ! openssl </dev/null >/dev/null 2>&1; then
echo "$0 requires openssl to be installed for keys/certificates generation." >&2
exit 1
fi
Expand Down

0 comments on commit 015b2b0

Please sign in to comment.