From d0143b181bbada6c4f81fdeb2d570763006e1506 Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Tue, 20 May 2025 10:48:54 +0200 Subject: [PATCH] Handle space problem --- t/61_diff_testsslsh.t | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/t/61_diff_testsslsh.t b/t/61_diff_testsslsh.t index f5c5e7c..1cac5e3 100755 --- a/t/61_diff_testsslsh.t +++ b/t/61_diff_testsslsh.t @@ -54,7 +54,10 @@ $baseline_csv =~ s/censys.io.*\n//g; # testssl.sh, see #2763. But for now we do this here. $cat_csv =~ s/AEAD-AES128-GCM-SHA256/TLS_AES_128_GCM_SHA256/g; $cat_csv =~ s/AEAD-AES256-GCM-SHA384/TLS_AES_256_GCM_SHA384/g; -$cat_csv =~ s/AEAD-CHACHA20-POLY1305-SHA256/TLS_CHACHA20_POLY1305_SHA256 /g; +# this is a bit ugly but otherwise the line cipher-tls1_3_x1303 with the CHACHA20 cipher misses a space +$cat_csv =~ s/x1303 AEAD-CHACHA20-POLY1305-SHA256/x1303 TLS_CHACHA20_POLY1305_SHA256 /g; +# now the other lines, where we don't need to insert the additional space: +$cat_csv =~ s/AEAD-CHACHA20-POLY1305-SHA256/TLS_CHACHA20_POLY1305_SHA256/g; # Same with ECDH bit length $cat_csv =~ s/ECDH 253/ECDH 256/g;