removed WOLFSSL_SNI_HOST_NAME_OUTER && minor fix (missing sniHostName got lost during editing)

This commit is contained in:
gasbytes
2024-06-03 20:05:00 +02:00
parent 6f567b58bc
commit c325de993d
3 changed files with 1 additions and 2 deletions

View File

@ -3811,7 +3811,6 @@ WOLFSSL_API void* wolfSSL_CTX_GetHeap(WOLFSSL_CTX* ctx, WOLFSSL* ssl);
/* SNI types */ /* SNI types */
enum { enum {
WOLFSSL_SNI_HOST_NAME = 0, WOLFSSL_SNI_HOST_NAME = 0,
WOLFSSL_SNI_HOST_NAME_OUTER = 0,
}; };
WOLFSSL_ABI WOLFSSL_API int wolfSSL_UseSNI(WOLFSSL* ssl, unsigned char type, WOLFSSL_ABI WOLFSSL_API int wolfSSL_UseSNI(WOLFSSL* ssl, unsigned char type,

View File

@ -73,6 +73,7 @@ public class wolfSSL_TLS_CSHarp
IntPtr ctx; IntPtr ctx;
IntPtr ssl; IntPtr ssl;
Socket fd; Socket fd;
IntPtr sniHostName;
/* These paths should be changed for use */ /* These paths should be changed for use */
string fileCert = @"server-cert.pem"; string fileCert = @"server-cert.pem";

View File

@ -460,7 +460,6 @@ namespace wolfSSL.CSharp {
public static readonly int SUCCESS = 1; public static readonly int SUCCESS = 1;
public static readonly int FAILURE = 0; public static readonly int FAILURE = 0;
public static readonly int WOLFSSL_SNI_HOST_NAME = 0; public static readonly int WOLFSSL_SNI_HOST_NAME = 0;
public static readonly int WOLFSSL_SNI_HOST_NAME_OUTER = 0;
private static IntPtr unwrap_ctx(IntPtr ctx) private static IntPtr unwrap_ctx(IntPtr ctx)