mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	Copy LibreSSL change of naming scheme from t/61_diff_testsslsh.t
... also if NOW only ciphers seem affected.
This commit is contained in:
		| @@ -78,6 +78,21 @@ $cat_csvfile2 =~ s/.nonce-.* //g; | |||||||
| $cat_csvfile  =~ s/","google.com\/.*","443/","google.com","443/g; | $cat_csvfile  =~ s/","google.com\/.*","443/","google.com","443/g; | ||||||
| $cat_csvfile2 =~ s/","google.com\/.*","443/","google.com","443/g; | $cat_csvfile2 =~ s/","google.com\/.*","443/","google.com","443/g; | ||||||
|  |  | ||||||
|  | # Now address the differences for LibreSSL, see t/61_diff_testsslsh.t | ||||||
|  | # | ||||||
|  | # MacOS / LibreSSL has different OpenSSL names for TLS 1.3 ciphers. That should be rather solved in | ||||||
|  | #       testssl.sh, see #2763. But for now we do this here. | ||||||
|  | $cat_csvfile  =~ s/AEAD-AES128-GCM-SHA256/TLS_AES_128_GCM_SHA256/g; | ||||||
|  | $cat_csvfile  =~ s/AEAD-AES256-GCM-SHA384/TLS_AES_256_GCM_SHA384/g | ||||||
|  | # this is a bit ugly but otherwise the line cipher-tls1_3_x1303 with the CHACHA20 cipher misses a space | ||||||
|  | $cat_csvfile  =~ 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_csvfile  =~ s/AEAD-CHACHA20-POLY1305-SHA256/TLS_CHACHA20_POLY1305_SHA256/g; | ||||||
|  |  | ||||||
|  | # Same with ECDH bit length | ||||||
|  | $cat_csv      =~ s/ECDH 253/ECDH 256/g; | ||||||
|  | $baseline_csv =~ s/ECDH 253/ECDH 256/g; | ||||||
|  |  | ||||||
| $diff = diff \$cat_csvfile, \$cat_csvfile2; | $diff = diff \$cat_csvfile, \$cat_csvfile2; | ||||||
|  |  | ||||||
| # Compare the differences -- and print them if there were any | # Compare the differences -- and print them if there were any | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter