From 75969182043a65dda4d2f1d452db9fa64e8c9480 Mon Sep 17 00:00:00 2001 From: Angristan Date: Sun, 17 Sep 2017 15:36:11 +0200 Subject: [PATCH] Update openvpn-install.sh Fix https://github.com/Angristan/OpenVPN-install/commit/4ec6e24e8153b76ec44ded55644efe41ce30f495 --- openvpn-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 9e479b5..3702ab4 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -424,10 +424,9 @@ else ;; esac fi - if [[ $CIPHER != "1" && $CIPHER != "2" && $CIPHER != "3" ]]; then + if [[ $CIPHER = "1" && $CIPHER = "2" && $CIPHER = "3" ]]; then echo "Choose which message digest algorithm you want to use for the tls-auth/tls-crypt control channel packets:" - fi - if [[ $CIPHER != "4" && $CIPHER != "5" && $CIPHER != "6" ]]; then + elif [[ $CIPHER = "4" && $CIPHER = "5" && $CIPHER = "6" ]]; then 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:" fi