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

some small tidy up work

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@44 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2006-11-30 05:25:19 +00:00
parent 3064f8d199
commit ada6d5e41b
6 changed files with 17 additions and 3 deletions

View File

@ -300,7 +300,7 @@ EXP_FUNC uint8_t STDCALL ssl_get_cipher_id(SSL *ssl);
EXP_FUNC int STDCALL ssl_handshake_status(SSL *ssl);
/**
* @brief Retrieve various parameters about the TLS engine.
* @brief Retrieve various parameters about the axTLS engine.
* @param offset [in] The configuration offset. It will be one of the following:
* - SSL_BUILD_MODE The build mode. This will be one of the following:
* - SSL_BUILD_SERVER_ONLY (basic server mode)

View File

@ -1150,7 +1150,7 @@ int basic_read(SSL *ssl, uint8_t **in_data)
if (IS_SET_SSL_FLAG(SSL_NEED_RECORD))
{
/* check for sslv2 "client hello" TODO: this shouldn't be here. */
/* check for sslv2 "client hello" */
if (buf[0] & 0x80 && buf[2] == 1 && buf[3] == 0x03)
{
#ifdef CONFIG_SSL_ENABLE_V23_HANDSHAKE