mirror of
https://github.com/angristan/openvpn-install.git
synced 2025-11-08 09:52:41 +01:00
Fix if
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user