From 30bafe6d4fa2d48e660a21edc6ed5434070beecf Mon Sep 17 00:00:00 2001 From: Dirk Date: Sun, 4 Apr 2021 11:55:29 +0200 Subject: [PATCH] Ensure certain regex patterns work as expected and aren't localized see #1860 . This PR is trying to address an issue where probably newer bash versions is treated differently as in other locales, W is just a variant of V see also e.g. https://collation-charts.org/opensolaris/opensolaris.2008.05.sv_SE.UTF-8.html https://www.sqlservercentral.com/forums/topic/order-by-name-not-works#post-1644177 --- testssl.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/testssl.sh b/testssl.sh index d32de6f..385281e 100755 --- a/testssl.sh +++ b/testssl.sh @@ -234,6 +234,7 @@ SSL_RENEG_ATTEMPTS=${SSL_RENEG_ATTEMPTS:-6} # number of times to check SSL ########### Initialization part, further global vars just being declared here # +LC_COLLATE=en_US.UTF-8 # ensures certain regex patterns work as expected and aren't localized, see #1860 SYSTEM2="" # currently only being used for WSL = bash on windows PRINTF="" # which external printf to use. Empty presets the internal one, see #1130 CIPHERS_BY_STRENGTH_FILE=""