1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-08-07 00:04:36 +03:00

Removed some printfs in skeleton mode

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@258 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2016-07-05 20:16:05 +00:00
committed by Yasuki Ikeuchi
parent 6d0a2c03c3
commit 106a59cf23
3 changed files with 12 additions and 9 deletions

View File

@@ -1223,7 +1223,9 @@ int basic_read(SSL *ssl, uint8_t **in_data)
/* check for sslv2 "client hello" */
if (buf[0] & 0x80 && buf[2] == 1)
{
printf("Error: no SSLv23 handshaking allowed\n"); TTY_FLUSH();
#ifdef CONFIG_SSL_FULL_MODE
printf("Error: no SSLv23 handshaking allowed\n");
#endif
ret = SSL_ERROR_NOT_SUPPORTED;
goto error; /* not an error - just get out of here */
}
@@ -2054,7 +2056,6 @@ void DISPLAY_STATE(SSL *ssl, int is_send, uint8_t state, int not_ok)
}
printf("%s\n", str);
TTY_FLUSH();
}
/**
@@ -2174,7 +2175,6 @@ EXP_FUNC void STDCALL ssl_display_error(int error_code)
}
printf("\n");
TTY_FLUSH();
}
/**
@@ -2235,7 +2235,6 @@ void DISPLAY_ALERT(SSL *ssl, int alert)
}
printf("\n");
TTY_FLUSH();
}
#endif /* CONFIG_SSL_FULL_MODE */