1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-29 05:21:37 +03:00

changes for 1.1.8

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@145 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-12-02 22:15:46 +00:00
parent 785380660e
commit 31efa00831
17 changed files with 82 additions and 83 deletions

View File

@ -1248,6 +1248,13 @@ static int SSL_client_test(
goto client_test_exit;
}
}
if (ssl_obj_load(*ssl_ctx, SSL_OBJ_X509_CACERT,
"../ssl/test/axTLS.ca_x509.cer", NULL))
{
printf("could not add cert auth\n"); TTY_FLUSH();
goto client_test_exit;
}
}
if (sess_resume && !sess_resume->start_server)
@ -1257,16 +1264,7 @@ static int SSL_client_test(
if ((client_fd = client_socket_init(g_port)) < 0)
{
printf("could not start socket on %d\n", g_port);
TTY_FLUSH();
goto client_test_exit;
}
if (ssl_obj_load(*ssl_ctx, SSL_OBJ_X509_CACERT,
"../ssl/test/axTLS.ca_x509.cer", NULL))
{
printf("could not add cert auth\n");
TTY_FLUSH();
printf("could not start socket on %d\n", g_port); TTY_FLUSH();
goto client_test_exit;
}