Merge pull request #10864 from anttiylitokola/tlssocket-cert-debug-info

TLSSocket: print certificate info only when tracing is enabled
pull/10868/head
Martin Kojtal 2019-06-26 09:09:15 +01:00 committed by GitHub
commit 68c3dc6161
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ nsapi_error_t TLSSocketWrapper::continue_handshake()
tr_info("TLS connection established");
#endif
#ifdef MBEDTLS_X509_CRT_PARSE_C
#if defined(MBEDTLS_X509_CRT_PARSE_C) && defined(FEA_TRACE_SUPPORT)
/* Prints the server certificate and verify it. */
const size_t buf_size = 1024;
char *buf = new char[buf_size];