forked from wolfSSL/wolfssl
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"
|
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
|
||||||
|
|
||||||
|
|
||||||
|
@@ -2552,6 +2552,12 @@ extern void uITRON4_free(void *p) ;
|
|||||||
#define NO_SHA2_CRYPTO_CB
|
#define NO_SHA2_CRYPTO_CB
|
||||||
#endif
|
#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:
|
/* Check for insecure build combination:
|
||||||
* secure renegotiation [enabled]
|
* secure renegotiation [enabled]
|
||||||
|
Reference in New Issue
Block a user