mirror of https://github.com/openssl/openssl.git
				
				
				
			The pointer to the cipher object is not yet set, when session was reloaded
from external cache (using d2i_SSL_SESSION). Perform comparison based on the cipher's id instead. Submitted by: Steve Haslam <araqnid@innocent.com> Reviewed by: PR: 288
This commit is contained in:
		
							parent
							
								
									eaf6c61c9f
								
							
						
					
					
						commit
						c566205319
					
				| 
						 | 
				
			
			@ -722,7 +722,7 @@ static int ssl3_get_server_hello(SSL *s)
 | 
			
		|||
		goto f_err;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
	if (s->hit && (s->session->cipher != c))
 | 
			
		||||
	if (s->hit && (s->session->cipher_id != c->id))
 | 
			
		||||
		{
 | 
			
		||||
		if (!(s->options &
 | 
			
		||||
			SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue