Skip to content

Commit d0143b1

Browse files
committed
Handle space problem
1 parent 85d8d44 commit d0143b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

t/61_diff_testsslsh.t

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ $baseline_csv =~ s/censys.io.*\n//g;
5454
# testssl.sh, see #2763. But for now we do this here.
5555
$cat_csv =~ s/AEAD-AES128-GCM-SHA256/TLS_AES_128_GCM_SHA256/g;
5656
$cat_csv =~ s/AEAD-AES256-GCM-SHA384/TLS_AES_256_GCM_SHA384/g;
57-
$cat_csv =~ s/AEAD-CHACHA20-POLY1305-SHA256/TLS_CHACHA20_POLY1305_SHA256 /g;
57+
# this is a bit ugly but otherwise the line cipher-tls1_3_x1303 with the CHACHA20 cipher misses a space
58+
$cat_csv =~ s/x1303 AEAD-CHACHA20-POLY1305-SHA256/x1303 TLS_CHACHA20_POLY1305_SHA256 /g;
59+
# now the other lines, where we don't need to insert the additional space:
60+
$cat_csv =~ s/AEAD-CHACHA20-POLY1305-SHA256/TLS_CHACHA20_POLY1305_SHA256/g;
5861

5962
# Same with ECDH bit length
6063
$cat_csv =~ s/ECDH 253/ECDH 256/g;

0 commit comments

Comments
 (0)