27 May 2024: Yorgos
- Fix unused variable warning on compilation with no thread support.
+ - unbound-control-setup: check openssl availability before doing
+ anything, patch from Michael Tokarev.
+ - Update patch to remove 'command' shell builtin and update error
+ text.
24 May 2024: Wouter
- Fix #1064: Unbound 1.20 Cachedb broken?
done
shift $((OPTIND - 1))
-if ! command -v openssl >/dev/null; then
- echo "$0 requires openssl package to be installed to generate the keys." >&2
+if ! openssl >/dev/null 2>&1; then
+ echo "$0 requires openssl to be installed for keys/certificates generation." >&2
exit 1
fi