mirror of https://github.com/openssl/openssl.git
				
				
				
			Fix wrong buffer and version in outgoing msg callback
Signed-off-by: Joshua Rogers <MegaManSec@users.noreply.github.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Saša Nedvědický <sashan@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28816)
(cherry picked from commit f7c0fcf028)
			
			
This commit is contained in:
		
							parent
							
								
									fbe1da31fa
								
							
						
					
					
						commit
						467dc70dfb
					
				| 
						 | 
				
			
			@ -746,7 +746,7 @@ int DTLSv1_listen(SSL *ssl, BIO_ADDR *client)
 | 
			
		|||
                   3);
 | 
			
		||||
 | 
			
		||||
            if (s->msg_callback)
 | 
			
		||||
                s->msg_callback(1, 0, SSL3_RT_HEADER, buf,
 | 
			
		||||
                s->msg_callback(1, version, SSL3_RT_HEADER, wbuf,
 | 
			
		||||
                                DTLS1_RT_HEADER_LENGTH, ssl,
 | 
			
		||||
                                s->msg_callback_arg);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue