File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
mcs/class/System/Mono.UnityTls Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -257,8 +257,9 @@ public override bool ProcessHandshake ()
257
257
public override void FinishHandshake ( )
258
258
{
259
259
// Query some data. Ignore errors on the way since failure is not crucial.
260
- var cipherSuite = UnityTls . NativeInterface . unitytls_tlsctx_get_ciphersuite ( m_TlsContext , null ) ;
261
- var protocolVersion = UnityTls . NativeInterface . unitytls_tlsctx_get_protocol ( m_TlsContext , null ) ;
260
+ var errorState = UnityTls . NativeInterface . unitytls_errorstate_create ( ) ;
261
+ var cipherSuite = UnityTls . NativeInterface . unitytls_tlsctx_get_ciphersuite ( m_TlsContext , & errorState ) ;
262
+ var protocolVersion = UnityTls . NativeInterface . unitytls_tlsctx_get_protocol ( m_TlsContext , & errorState ) ;
262
263
263
264
m_Connectioninfo = new MonoTlsConnectionInfo ( ) {
264
265
CipherSuiteCode = ( CipherSuiteCode ) cipherSuite ,
You can’t perform that action at this time.
0 commit comments