mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 18:57:27 +02:00
removed sniHostName no longer used
This commit is contained in:
@ -85,7 +85,6 @@ public class wolfSSL_TLS_CSHarp
|
|||||||
IntPtr ctx;
|
IntPtr ctx;
|
||||||
IntPtr ssl;
|
IntPtr ssl;
|
||||||
Socket fd;
|
Socket fd;
|
||||||
IntPtr sniHostName;
|
|
||||||
IntPtr arg_sni;
|
IntPtr arg_sni;
|
||||||
|
|
||||||
/* These paths should be changed for use */
|
/* These paths should be changed for use */
|
||||||
@ -155,11 +154,6 @@ public class wolfSSL_TLS_CSHarp
|
|||||||
|
|
||||||
if (haveSNI(args))
|
if (haveSNI(args))
|
||||||
{
|
{
|
||||||
string sniHostNameString = args[1].Trim();
|
|
||||||
sniHostName = Marshal.StringToHGlobalAnsi(sniHostNameString);
|
|
||||||
|
|
||||||
ushort size = (ushort)sniHostNameString.Length;
|
|
||||||
|
|
||||||
// Allocating memory and setting SNI arg
|
// Allocating memory and setting SNI arg
|
||||||
int test_value = 32;
|
int test_value = 32;
|
||||||
arg_sni = Marshal.AllocHGlobal(sizeof(int));
|
arg_sni = Marshal.AllocHGlobal(sizeof(int));
|
||||||
|
Reference in New Issue
Block a user