Add DTLS tests to make test
Updated test/testssl script to include the new DTLS capability in ssltest.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
(cherry picked from commit 3c381e5423)
			
			
This commit is contained in:
		
							
								
								
									
										24
									
								
								test/testssl
									
									
									
									
									
								
							
							
						
						
									
										24
									
								
								test/testssl
									
									
									
									
									
								
							@@ -101,6 +101,30 @@ $ssltest -bio_pair -ssl3 -server_auth -client_auth $CA $extra || exit 1
 | 
				
			|||||||
echo test sslv2/sslv3 via BIO pair
 | 
					echo test sslv2/sslv3 via BIO pair
 | 
				
			||||||
$ssltest $extra || exit 1
 | 
					$ssltest $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1
 | 
				
			||||||
 | 
					$ssltest -dtls1 $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1 with server authentication
 | 
				
			||||||
 | 
					$ssltest -dtls1 -server_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1 with client authentication
 | 
				
			||||||
 | 
					$ssltest -dtls1 -client_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1 with both client and server authentication
 | 
				
			||||||
 | 
					$ssltest -dtls1 -server_auth -client_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1.2
 | 
				
			||||||
 | 
					$ssltest -dtls12 $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1.2 with server authentication
 | 
				
			||||||
 | 
					$ssltest -dtls12 -server_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1.2 with client authentication
 | 
				
			||||||
 | 
					$ssltest -dtls12 -client_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					echo test dtlsv1.2 with both client and server authentication
 | 
				
			||||||
 | 
					$ssltest -dtls12 -server_auth -client_auth $CA $extra || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ $dsa_cert = NO ]; then
 | 
					if [ $dsa_cert = NO ]; then
 | 
				
			||||||
  echo 'test sslv2/sslv3 w/o (EC)DHE via BIO pair'
 | 
					  echo 'test sslv2/sslv3 w/o (EC)DHE via BIO pair'
 | 
				
			||||||
  $ssltest -bio_pair -no_dhe -no_ecdhe $extra || exit 1
 | 
					  $ssltest -bio_pair -no_dhe -no_ecdhe $extra || exit 1
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user