mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-01-30 17:22:13 +01:00
Merge pull request #6861 from douzzer/20231012-keylog-export-warning-fix
20231012-keylog-export-warning-fix
This commit is contained in:
@@ -106,7 +106,8 @@ static int TLSX_PopulateSupportedGroups(WOLFSSL* ssl, TLSX** extensions);
|
||||
#endif
|
||||
|
||||
/* Warn if secrets logging is enabled */
|
||||
#if defined(SHOW_SECRETS) || defined(WOLFSSL_SSLKEYLOGFILE)
|
||||
#if (defined(SHOW_SECRETS) || defined(WOLFSSL_SSLKEYLOGFILE)) && \
|
||||
!defined(WOLFSSL_KEYLOG_EXPORT_WARNED)
|
||||
#ifndef _MSC_VER
|
||||
#warning The SHOW_SECRETS and WOLFSSL_SSLKEYLOGFILE options should only be used for debugging and never in a production environment
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user