mirror of
				https://github.com/coturn/coturn.git
				synced 2025-10-31 15:00:59 +01:00 
			
		
		
		
	ssl renegotiation callback fixed
This commit is contained in:
		
							parent
							
								
									f65711493c
								
							
						
					
					
						commit
						061f49560b
					
				| @ -1,9 +1,9 @@ | |||||||
| 10/16/2014 Oleg Moskalenko <mom040267@gmail.com> | 10/16/2014 Oleg Moskalenko <mom040267@gmail.com> | ||||||
| Version 4.2.1.4 'Monza': | Version 4.2.1.4 'Monza': | ||||||
| 	- Code cleaning. |  | ||||||
| 	- TCP/TLS tests extended. | 	- TCP/TLS tests extended. | ||||||
| 	- relay RTCP sockets ports allocation fixed. | 	- relay RTCP sockets ports allocation fixed. | ||||||
| 	- list of libraries cleaned. | 	- list of libraries cleaned. | ||||||
|  | 	- SSL renegotiation callback fixed. | ||||||
| 
 | 
 | ||||||
| 10/05/2014 Oleg Moskalenko <mom040267@gmail.com> | 10/05/2014 Oleg Moskalenko <mom040267@gmail.com> | ||||||
| Version 4.2.1.2 'Monza': | Version 4.2.1.2 'Monza': | ||||||
|  | |||||||
| @ -1739,7 +1739,9 @@ ioa_socket_handle detach_ioa_socket(ioa_socket_handle s) | |||||||
| 
 | 
 | ||||||
| 		ret->realm_hash = s->realm_hash; | 		ret->realm_hash = s->realm_hash; | ||||||
| 
 | 
 | ||||||
| 		set_socket_ssl(ret,s->ssl); | 		SSL* ssl = s->ssl; | ||||||
|  | 		set_socket_ssl(s,NULL); | ||||||
|  | 		set_socket_ssl(ret,ssl); | ||||||
| 		ret->fd = s->fd; | 		ret->fd = s->fd; | ||||||
| 
 | 
 | ||||||
| 		ret->family = get_ioa_socket_address_family(s); | 		ret->family = get_ioa_socket_address_family(s); | ||||||
| @ -1770,7 +1772,6 @@ ioa_socket_handle detach_ioa_socket(ioa_socket_handle s) | |||||||
| 		ret->current_tos = s->current_tos; | 		ret->current_tos = s->current_tos; | ||||||
| 		ret->default_tos = s->default_tos; | 		ret->default_tos = s->default_tos; | ||||||
| 
 | 
 | ||||||
| 		set_socket_ssl(s,NULL); |  | ||||||
| 		s->fd = -1; | 		s->fd = -1; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user