We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c04c768 commit b2e7707Copy full SHA for b2e7707
1 file changed
wrapper/CSharp/wolfSSL-TLS-Server/wolfSSL-TLS-Server.cs
@@ -85,7 +85,6 @@ public static void Main(string[] args)
85
IntPtr ctx;
86
IntPtr ssl;
87
Socket fd;
88
- IntPtr sniHostName;
89
IntPtr arg_sni;
90
91
/* These paths should be changed for use */
@@ -155,11 +154,6 @@ public static void Main(string[] args)
155
154
156
if (haveSNI(args))
157
{
158
- string sniHostNameString = args[1].Trim();
159
- sniHostName = Marshal.StringToHGlobalAnsi(sniHostNameString);
160
-
161
- ushort size = (ushort)sniHostNameString.Length;
162
163
// Allocating memory and setting SNI arg
164
int test_value = 32;
165
arg_sni = Marshal.AllocHGlobal(sizeof(int));
0 commit comments