Skip to content

Commit

Permalink
removed WOLFSSL_SNI_HOST_NAME_OUTER && minor fix (missing sniHostName…
Browse files Browse the repository at this point in the history
… got lost during editing)
  • Loading branch information
gasbytes committed Jun 3, 2024
1 parent 6f567b5 commit c325de9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion wolfssl/ssl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 1 addition & 0 deletions wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static void Main(string[] args)
IntPtr ctx;
IntPtr ssl;
Socket fd;
IntPtr sniHostName;

/* These paths should be changed for use */
string fileCert = @"server-cert.pem";
Expand Down
1 change: 0 additions & 1 deletion wrapper/CSharp/wolfSSL_CSharp/wolfSSL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,6 @@ public void free()
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)
Expand Down

0 comments on commit c325de9

Please sign in to comment.