mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-29 05:21:37 +03:00
some more memory tweaks
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@135 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
@ -1470,9 +1470,8 @@ static void do_basic(void)
|
||||
ssl_clnt = ssl_client_new(ssl_clnt_ctx, client_fd, NULL, 0);
|
||||
|
||||
/* check the return status */
|
||||
if (ssl_handshake_status(ssl_clnt))
|
||||
if (ssl_handshake_status(ssl_clnt) < 0)
|
||||
{
|
||||
printf("Client ");
|
||||
ssl_display_error(ssl_handshake_status(ssl_clnt));
|
||||
goto error;
|
||||
}
|
||||
@ -1722,7 +1721,7 @@ error:
|
||||
**************************************************************************/
|
||||
static void do_header_issue(void)
|
||||
{
|
||||
uint8_t axtls_buf[2048];
|
||||
char axtls_buf[2048];
|
||||
#ifndef WIN32
|
||||
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user