4 if grep "define USE_DNSCRYPT 1" $PRE/config.h; then
11 # if no xchacha20 support in unbound; exit
12 if grep "define USE_DNSCRYPT_XCHACHA20 1" $PRE/config.h; then
21 # if dnscrypt-proxy does not support xchacha20; exit
22 if (dnscrypt-proxy -h 2>&1 | grep -q 'XChaCha20-Poly1305 cipher: present'); then
23 echo "dnscrypt-proxy has xchacha20"
25 echo "dnscrypt-proxy does not have xchacha20"