mirror of
https://github.com/coturn/coturn.git
synced 2025-10-28 05:21:00 +01:00
ssl fixes
This commit is contained in:
parent
a2ca178ff7
commit
d0c0359011
@ -2263,7 +2263,7 @@ static TURN_TLS_TYPE check_tentative_tls(ioa_socket_raw fd)
|
||||
if((s[0]==22)&&(s[1]==3)&&(s[5]==1)&&(s[9]==3)) {
|
||||
char max_supported = (char)(TURN_TLS_TOTAL-2);
|
||||
if(s[10] >= max_supported)
|
||||
ret = (TURN_TLS_TYPE)((((int)TURN_TLS_TOTAL)-1));
|
||||
ret = TURN_TLS_SSL23; /* compatibility mode */
|
||||
else
|
||||
ret = (TURN_TLS_TYPE)(s[10]+1);
|
||||
} else if((s[2]==1)&&(s[3]==3)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user