- Fix #1126: unbound-control-setup hangs while testing for openssl

presence starting from version 1.21.0.
This commit is contained in:
W.C.A. Wijngaards 2024-08-19 15:51:47 +02:00
parent 5fa84d50bf
commit 015b2b0daf
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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