mirror of
				https://github.com/cuberite/polarssl.git
				synced 2025-10-30 19:20:40 -04:00 
			
		
		
		
	- Send ClientHello with 'minimal version'
This commit is contained in:
		
							parent
							
								
									23f3680898
								
							
						
					
					
						commit
						993d11dd05
					
				| @ -52,8 +52,8 @@ static int ssl_write_client_hello( ssl_context *ssl ) | |||||||
| 
 | 
 | ||||||
|     if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE ) |     if( ssl->renegotiation == SSL_INITIAL_HANDSHAKE ) | ||||||
|     { |     { | ||||||
|         ssl->major_ver = SSL_MAJOR_VERSION_3; |         ssl->major_ver = ssl->min_major_ver; | ||||||
|         ssl->minor_ver = SSL_MINOR_VERSION_0; |         ssl->minor_ver = ssl->min_minor_ver; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     if( ssl->max_major_ver == 0 && ssl->max_minor_ver == 0 ) |     if( ssl->max_major_ver == 0 && ssl->max_minor_ver == 0 ) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Paul Bakker
						Paul Bakker