mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user