mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-07-05 22:14:22 +02:00
Fix if
This commit is contained in:
parent
7596918204
commit
9f7663303f
@ -424,9 +424,9 @@ else
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if [[ $CIPHER = "1" && $CIPHER = "2" && $CIPHER = "3" ]]; then
|
if [[ $CIPHER = "cipher AES-256-GCM" ]] || [[ $CIPHER = "cipher AES-192-GCM" ]] || [[ $CIPHER = "cipher AES-128-GCM" ]]; then
|
||||||
echo "Choose which message digest algorithm you want to use for the tls-auth/tls-crypt control channel packets:"
|
echo "Choose which message digest algorithm you want to use for the tls-auth/tls-crypt control channel packets:"
|
||||||
elif [[ $CIPHER = "4" && $CIPHER = "5" && $CIPHER = "6" ]]; then
|
elif [[ $CIPHER = "cipher AES-256-CBC" ]] || [[ $CIPHER = "cipher AES-192-CBC" ]] || [[ $CIPHER = "cipher AES-128-CBC" ]]; then
|
||||||
echo "Choose which message digest algorithm you want to use for the data channel packets"
|
echo "Choose which message digest algorithm you want to use for the data channel packets"
|
||||||
echo "and the tls-auth/tls-crypt control channel packets:"
|
echo "and the tls-auth/tls-crypt control channel packets:"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user