File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mcs/class/System/Mono.UnityTls Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public static UnityTls.unitytls_protocol GetMinProtocol (SslProtocols protocols)
23
23
return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_1 ;
24
24
if ( protocols . HasFlag ( SslProtocols . Tls12 ) )
25
25
return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_2 ;
26
- return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_2 ; // Behavior as in AppleTlsContext
26
+ return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_0 ; // Use mbed tls min default
27
27
}
28
28
29
29
public static UnityTls . unitytls_protocol GetMaxProtocol ( SslProtocols protocols )
@@ -34,7 +34,7 @@ public static UnityTls.unitytls_protocol GetMaxProtocol (SslProtocols protocols)
34
34
return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_1 ;
35
35
if ( protocols . HasFlag ( SslProtocols . Tls ) )
36
36
return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_0 ;
37
- return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_0 ; // Behavior as in AppleTlsContext
37
+ return UnityTls . unitytls_protocol . UNITYTLS_PROTOCOL_TLS_1_2 ; // Use mbed tls max default
38
38
}
39
39
40
40
public static TlsProtocols ConvertProtocolVersion ( UnityTls . unitytls_protocol protocol )
You can’t perform that action at this time.
0 commit comments