From d2ffebd925b43a4aef0247d55b671e79c5b05d1d Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 16 Nov 2019 17:22:16 -0700 Subject: [PATCH] move TLS var case-correction after reading params --- ab-nginx.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ab-nginx.sh b/ab-nginx.sh index 0d6ac0b..656f09d 100755 --- a/ab-nginx.sh +++ b/ab-nginx.sh @@ -93,6 +93,11 @@ checkExist 'file' './ab-nginx.params' # read .params file . ./ab-nginx.params +# fix case of TLS13_ONLY var +if [ "$TLS13_ONLY" ]; then + TLS13_ONLY=$( echo "$TLS13_ONLY" | tr "[:lower:]" "[:upper:]" ) +fi + # check for certs if using SSL checkExist 'file' "$SSL_CERT" checkExist 'file' "$SSL_KEY"