mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Fixed some skeleton mode warnings
git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@257 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
committed by
Yasuki Ikeuchi
parent
14d6809c0d
commit
6d0a2c03c3
@ -79,12 +79,14 @@ void SSL_CTX_free(SSL_CTX * ssl_ctx)
|
||||
SSL * SSL_new(SSL_CTX *ssl_ctx)
|
||||
{
|
||||
SSL *ssl;
|
||||
ssl_func_type_t ssl_func_type;
|
||||
#ifdef CONFIG_SSL_ENABLE_CLIENT
|
||||
ssl_func_type_t ssl_func_type = OPENSSL_CTX_ATTR->ssl_func_type;
|
||||
#endif
|
||||
|
||||
ssl = ssl_new(ssl_ctx, -1); /* fd is set later */
|
||||
ssl_func_type = OPENSSL_CTX_ATTR->ssl_func_type;
|
||||
|
||||
#ifdef CONFIG_SSL_ENABLE_CLIENT
|
||||
ssl_func_type
|
||||
|
||||
if (ssl_func_type == SSLv3_client_method ||
|
||||
ssl_func_type == TLSv1_client_method)
|
||||
{
|
||||
|
@ -59,7 +59,9 @@ static int increase_bm_data_size(SSL *ssl, size_t size);
|
||||
* The server will pick the cipher based on the order that the order that the
|
||||
* ciphers are listed. This order is defined at compile time.
|
||||
*/
|
||||
#ifndef CONFIG_SSL_SKELETON_MODE
|
||||
static void session_free(SSL_SESSION *ssl_sessions[], int sess_index);
|
||||
#endif
|
||||
|
||||
const uint8_t ssl_prot_prefs[NUM_PROTOCOLS] =
|
||||
#ifdef CONFIG_SSL_PROT_LOW /* same as medium for now */
|
||||
|
Reference in New Issue
Block a user