diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index f12d32a23..1eeeef7f0 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -3811,7 +3811,6 @@ WOLFSSL_API void* wolfSSL_CTX_GetHeap(WOLFSSL_CTX* ctx, WOLFSSL* ssl); /* SNI types */ enum { WOLFSSL_SNI_HOST_NAME = 0, - WOLFSSL_SNI_HOST_NAME_OUTER = 0, }; WOLFSSL_ABI WOLFSSL_API int wolfSSL_UseSNI(WOLFSSL* ssl, unsigned char type, diff --git a/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs b/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs index 140d4d1f2..281020709 100644 --- a/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs +++ b/wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs @@ -73,6 +73,7 @@ public class wolfSSL_TLS_CSHarp IntPtr ctx; IntPtr ssl; Socket fd; + IntPtr sniHostName; /* These paths should be changed for use */ string fileCert = @"server-cert.pem"; diff --git a/wrapper/CSharp/wolfSSL_CSharp/wolfSSL.cs b/wrapper/CSharp/wolfSSL_CSharp/wolfSSL.cs index 8377419c4..551585bdd 100644 --- a/wrapper/CSharp/wolfSSL_CSharp/wolfSSL.cs +++ b/wrapper/CSharp/wolfSSL_CSharp/wolfSSL.cs @@ -460,7 +460,6 @@ namespace wolfSSL.CSharp { public static readonly int SUCCESS = 1; public static readonly int FAILURE = 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)