Skip to content

Commit 682e1af

Browse files
committed
[unitytls] Updated unitytls_interface_struct to newest version
1 parent 5a28379 commit 682e1af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mcs/class/System/Mono.UnityTls/UnityTls.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ public struct unitytls_tlsctx_callbacks
168168
public class unitytls_interface_struct
169169
{
170170
public readonly UInt64 UNITYTLS_INVALID_HANDLE;
171+
public readonly unitytls_tlsctx_protocolrange UNITYTLS_TLSCTX_PROTOCOLRANGE_DEFAULT;
171172

172173
public delegate unitytls_errorstate unitytls_errorstate_create_t();
173174
public unitytls_errorstate_create_t unitytls_errorstate_create;
@@ -176,6 +177,8 @@ public class unitytls_interface_struct
176177

177178
public delegate unitytls_key_ref unitytls_key_get_ref_t(unitytls_key* key, unitytls_errorstate* errorState);
178179
public unitytls_key_get_ref_t unitytls_key_get_ref;
180+
public delegate unitytls_key* unitytls_key_parse_pem_t(Int8* buffer, size_t bufferLen, UInt8* password, size_t passwordLen, unitytls_errorstate* errorState);
181+
public unitytls_key_parse_der_t unitytls_key_parse_pem;
179182
public delegate unitytls_key* unitytls_key_parse_der_t(UInt8* buffer, size_t bufferLen, UInt8* password, size_t passwordLen, unitytls_errorstate* errorState);
180183
public unitytls_key_parse_der_t unitytls_key_parse_der;
181184
public delegate void unitytls_key_free_t(unitytls_key* key);
@@ -194,6 +197,8 @@ public class unitytls_interface_struct
194197
public unitytls_x509list_append_t unitytls_x509list_append;
195198
public delegate void unitytls_x509list_append_der_t(unitytls_x509list* list, UInt8* buffer, size_t bufferLen, unitytls_errorstate* errorState);
196199
public unitytls_x509list_append_der_t unitytls_x509list_append_der;
200+
public delegate void unitytls_x509list_append_pem_t(unitytls_x509list* list, Int8* buffer, size_t bufferLen, unitytls_errorstate* errorState);
201+
public unitytls_x509list_append_der_t unitytls_x509list_append_pem;
197202
public delegate void unitytls_x509list_free_t(unitytls_x509list* list);
198203
public unitytls_x509list_free_t unitytls_x509list_free;
199204

0 commit comments

Comments
 (0)