mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 10:55:38 +01:00
- Removed redundant POLARSSL_DEBUG_MSG define
This commit is contained in:
parent
a8cd239d6b
commit
1504af585c
@ -9,6 +9,9 @@ Features
|
||||
* Added support for multi-domain certificates through the X509 Subject
|
||||
Alternative Name extension
|
||||
|
||||
Changes
|
||||
* Removed redundant POLARSSL_DEBUG_MSG define
|
||||
|
||||
= Version 1.1.1 released on 2012-01-23
|
||||
Bugfix
|
||||
* Check for failed malloc() in ssl_set_hostname() and x509_get_entries()
|
||||
|
@ -146,15 +146,6 @@
|
||||
#define POLARSSL_CIPHER_NULL_CIPHER
|
||||
*/
|
||||
|
||||
/**
|
||||
* \def POLARSSL_DEBUG_MSG
|
||||
*
|
||||
* Requires: POLARSSL_DEBUG_C
|
||||
*
|
||||
* Enable all SSL/TLS debugging messages.
|
||||
*/
|
||||
#define POLARSSL_DEBUG_MSG
|
||||
|
||||
/**
|
||||
* \def POLARSSL_ENABLE_WEAK_CIPHERSUITES
|
||||
*
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "config.h"
|
||||
#include "ssl.h"
|
||||
|
||||
#if defined(POLARSSL_DEBUG_MSG) && defined(POLARSSL_DEBUG_C)
|
||||
#if defined(POLARSSL_DEBUG_C)
|
||||
|
||||
#define SSL_DEBUG_MSG( level, args ) \
|
||||
debug_print_msg( ssl, level, __FILE__, __LINE__, debug_fmt args );
|
||||
|
@ -178,7 +178,7 @@ static int ssl_write_client_hello( ssl_context *ssl )
|
||||
|
||||
static int ssl_parse_server_hello( ssl_context *ssl )
|
||||
{
|
||||
#if defined(POLARSSL_DEBUG_MSG) && defined(POLARSSL_DEBUG_C)
|
||||
#if defined(POLARSSL_DEBUG_C)
|
||||
time_t t;
|
||||
#endif
|
||||
int ret, i;
|
||||
@ -228,7 +228,7 @@ static int ssl_parse_server_hello( ssl_context *ssl )
|
||||
|
||||
ssl->minor_ver = buf[5];
|
||||
|
||||
#if defined(POLARSSL_DEBUG_MSG) && defined(POLARSSL_DEBUG_C)
|
||||
#if defined(POLARSSL_DEBUG_C)
|
||||
t = ( (time_t) buf[6] << 24 )
|
||||
| ( (time_t) buf[7] << 16 )
|
||||
| ( (time_t) buf[8] << 8 )
|
||||
|
Loading…
Reference in New Issue
Block a user