From 7322a711ec2cc86bbb8e88a0f9e469534eae53e8 Mon Sep 17 00:00:00 2001 From: Angristan Date: Thu, 14 Sep 2017 14:11:16 +0200 Subject: [PATCH] Fix cert hash alg menu --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index ead6cad..ad386ac 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -380,7 +380,7 @@ else echo " 1) SHA-256" echo " 2) SHA-384 (recommended)" echo " 3) SHA-512" - while [[ $CERT_HASH != "1" && $CERT_HASH != "2" ]]; do + while [[ $CERT_HASH != "1" && $CERT_HASH != "2" && $CERT_HASH != "3"]]; do read -p "Cert hash algo [1-3]: " -e -i 2 CERT_HASH done case $CERT_HASH in