mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-11-04 07:45:27 +01:00 
			
		
		
		
	Merge pull request #1588 from drwetter/np_fix31
Negotiated protocol showed no warning for TLS 1.1/1.0
This commit is contained in:
		@@ -6419,12 +6419,12 @@ run_server_preference() {
 | 
				
			|||||||
               fileout "$jsonID" "OK" "Default protocol TLS1.2"
 | 
					               fileout "$jsonID" "OK" "Default protocol TLS1.2"
 | 
				
			||||||
               ;;
 | 
					               ;;
 | 
				
			||||||
          *TLSv1.1)
 | 
					          *TLSv1.1)
 | 
				
			||||||
               prln_svrty_good $default_proto
 | 
					               prln_svrty_low $default_proto
 | 
				
			||||||
               fileout "$jsonID" "OK" "Default protocol TLS1.1"
 | 
					               fileout "$jsonID" "LOW" "Default protocol TLS1.1"
 | 
				
			||||||
               ;;
 | 
					               ;;
 | 
				
			||||||
          *TLSv1)
 | 
					          *TLSv1)
 | 
				
			||||||
               outln $default_proto
 | 
					               prln_svrty_low $default_proto
 | 
				
			||||||
               fileout "$jsonID" "INFO" "Default protocol TLS1.0"
 | 
					               fileout "$jsonID" "LOW" "Default protocol TLS1.0"
 | 
				
			||||||
               ;;
 | 
					               ;;
 | 
				
			||||||
          *SSLv2)
 | 
					          *SSLv2)
 | 
				
			||||||
               prln_svrty_critical $default_proto
 | 
					               prln_svrty_critical $default_proto
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user