mirror of https://github.com/openssl/openssl.git
				
				
				
			Don't use SSLv2 compatible client hello if we don't tolerate legacy renegotiation
This commit is contained in:
		
							parent
							
								
									3c44e92bcb
								
							
						
					
					
						commit
						5ddbb8f41a
					
				|  | @ -305,6 +305,8 @@ static int ssl23_client_hello(SSL *s) | |||
| 			ssl2_compat = 0; | ||||
| 		if (s->tlsext_status_type != -1) | ||||
| 			ssl2_compat = 0; | ||||
| 		if (!(s->ctx->options & SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION)) | ||||
| 			ssl2_compat = 0; | ||||
| 		 | ||||
| #ifdef TLSEXT_TYPE_opaque_prf_input | ||||
| 		if (s->ctx->tlsext_opaque_prf_input_callback != 0 || s->tlsext_opaque_prf_input != NULL) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue