Address peer feedback

This commit is contained in:
kaleb-himes
2022-04-08 10:12:24 -06:00
parent c1421b1be8
commit 5d46d10933
2 changed files with 3 additions and 6 deletions

View File

@ -3919,7 +3919,7 @@ fi
if test "$ENABLED_POLY1305" = "yes" if test "$ENABLED_POLY1305" = "yes"
then then
AM_CFLAGS="$AM_CFLAGS -DHAVE_POLY1305 -DHAVE_ONE_TIME_AUTH" AM_CFLAGS="$AM_CFLAGS -DHAVE_POLY1305"
fi fi

View File

@ -2552,11 +2552,8 @@ extern void uITRON4_free(void *p) ;
#define NO_SHA2_CRYPTO_CB #define NO_SHA2_CRYPTO_CB
#endif #endif
/* configure.ac forces HAVE_ONE_TIME_AUTH when --enable-poly1305. There exists /* Enable HAVE_ONE_TIME_AUTH by default for use with TLS cipher suites
* a scenario however where cipher suite * when poly1305 is enabled
* TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 is listed as available but fails
* when set with wolfSSL_CTX_set_cipher_list for users using a user_settings.h
* to control the build.
*/ */
#if defined(HAVE_POLY1305) && !defined(HAVE_ONE_TIME_AUTH) #if defined(HAVE_POLY1305) && !defined(HAVE_ONE_TIME_AUTH)
#define HAVE_ONE_TIME_AUTH #define HAVE_ONE_TIME_AUTH