1
0
mirror of https://github.com/coturn/coturn.git synced 2025-10-28 21:41:29 +01:00

ssl renegotiation callback fixed

This commit is contained in:
mom040267 2014-10-26 04:31:21 +00:00
parent f65711493c
commit 061f49560b
2 changed files with 4 additions and 3 deletions

View File

@ -1,9 +1,9 @@
10/16/2014 Oleg Moskalenko <mom040267@gmail.com>
Version 4.2.1.4 'Monza':
- Code cleaning.
- TCP/TLS tests extended.
- relay RTCP sockets ports allocation fixed.
- list of libraries cleaned.
- SSL renegotiation callback fixed.
10/05/2014 Oleg Moskalenko <mom040267@gmail.com>
Version 4.2.1.2 'Monza':

View File

@ -1739,7 +1739,9 @@ ioa_socket_handle detach_ioa_socket(ioa_socket_handle s)
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->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->default_tos = s->default_tos;
set_socket_ssl(s,NULL);
s->fd = -1;
}