mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
Fixed variable length macs used by gnutls.
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@205 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -798,13 +798,13 @@ static void do_client(client_t *clnt)
|
||||
/* show the session ids in the reconnect test */
|
||||
if (strcmp(clnt->testname, "Session Reuse") == 0)
|
||||
{
|
||||
sprintf(openssl_buf, "echo \"hello client\" | openssl s_client "
|
||||
sprintf(openssl_buf, "echo \"hello client\" | openssl s_client -tls1 "
|
||||
"-connect localhost:%d %s 2>&1 | grep \"Session-ID:\"",
|
||||
g_port, clnt->openssl_option);
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(openssl_buf, "echo \"hello client\" | openssl s_client "
|
||||
sprintf(openssl_buf, "echo \"hello client\" | openssl s_client -tls1 "
|
||||
#ifdef WIN32
|
||||
"-connect localhost:%d -quiet %s",
|
||||
#else
|
||||
|
Reference in New Issue
Block a user