1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-13 13:01:55 +03:00

fixed some of the bindings for the new API changes

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@120 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-08-30 02:55:46 +00:00
parent d40747d1b1
commit 114fff4077
12 changed files with 53 additions and 40 deletions

View File

@ -732,12 +732,15 @@ public class axssl
{
byte[] session_id = ssl.GetSessionId();
Console.WriteLine("-----BEGIN SSL SESSION PARAMETERS-----");
foreach (byte b in session_id)
if (session_id.Length > 0)
{
Console.Write("{0:x02}", b);
}
Console.WriteLine("-----BEGIN SSL SESSION PARAMETERS-----");
foreach (byte b in session_id)
{
Console.Write("{0:x02}", b);
}
Console.WriteLine("\n-----END SSL SESSION PARAMETERS-----");
Console.WriteLine("\n-----END SSL SESSION PARAMETERS-----");
}
}
}