mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Merge pull request #5032 from kaleb-himes/ZD13946
Add logic equivalent to configure.ac in settings.h for poly1305
This commit is contained in:
@ -3919,7 +3919,7 @@ fi
|
||||
|
||||
if test "$ENABLED_POLY1305" = "yes"
|
||||
then
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_POLY1305 -DHAVE_ONE_TIME_AUTH"
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_POLY1305"
|
||||
fi
|
||||
|
||||
|
||||
|
@ -2552,6 +2552,12 @@ extern void uITRON4_free(void *p) ;
|
||||
#define NO_SHA2_CRYPTO_CB
|
||||
#endif
|
||||
|
||||
/* Enable HAVE_ONE_TIME_AUTH by default for use with TLS cipher suites
|
||||
* when poly1305 is enabled
|
||||
*/
|
||||
#if defined(HAVE_POLY1305) && !defined(HAVE_ONE_TIME_AUTH)
|
||||
#define HAVE_ONE_TIME_AUTH
|
||||
#endif
|
||||
|
||||
/* Check for insecure build combination:
|
||||
* secure renegotiation [enabled]
|
||||
|
Reference in New Issue
Block a user