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:
@ -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)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user