check for conflicting HAVE_RENEGOTIATION_INDICATION and HAVE_SECURE_RENEGOTIATION in settings.h

This commit is contained in:
Anthony Hu
2024-04-18 17:51:33 -04:00
parent 03ed52bd81
commit 85326da7fc

View File

@ -3257,6 +3257,13 @@ extern void uITRON4_free(void *p) ;
#define HAVE_ONE_TIME_AUTH #define HAVE_ONE_TIME_AUTH
#endif #endif
/* This is checked for in configure.ac, so might want to do it in here as well.
*/
#if defined(HAVE_SECURE_RENEGOTIATION) && defined(HAVE_RENEGOTIATION_INDICATION)
#error HAVE_RENEGOTIATION_INDICATION cannot be defined together with \
HAVE_SECURE_RENEGOTIATION
#endif
/* Check for insecure build combination: /* Check for insecure build combination:
* secure renegotiation [enabled] * secure renegotiation [enabled]
* extended master secret [disabled] * extended master secret [disabled]