Skip to content

Commit c7f852f

Browse files
Merge pull request #7450 from anhu/reneg_indic
check for conflicting secure renegotiation macros (settings.h)
2 parents 9242f61 + 85326da commit c7f852f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

wolfssl/wolfcrypt/settings.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3257,6 +3257,13 @@ extern void uITRON4_free(void *p) ;
32573257
#define HAVE_ONE_TIME_AUTH
32583258
#endif
32593259

3260+
/* This is checked for in configure.ac, so might want to do it in here as well.
3261+
*/
3262+
#if defined(HAVE_SECURE_RENEGOTIATION) && defined(HAVE_RENEGOTIATION_INDICATION)
3263+
#error HAVE_RENEGOTIATION_INDICATION cannot be defined together with \
3264+
HAVE_SECURE_RENEGOTIATION
3265+
#endif
3266+
32603267
/* Check for insecure build combination:
32613268
* secure renegotiation [enabled]
32623269
* extended master secret [disabled]

0 commit comments

Comments
 (0)