don't allow scr and fake indication together
This commit is contained in:
parent
9dbc1d2d00
commit
668fed4796
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,6 +2,7 @@
|
||||
*.lo
|
||||
*.la
|
||||
*.o
|
||||
*.patch
|
||||
*.deps
|
||||
*.libs
|
||||
*.cache
|
||||
|
@ -1342,6 +1342,10 @@ AC_ARG_ENABLE([secure-renegotiation],
|
||||
|
||||
if test "x$ENABLED_SECURE_RENEGOTIATION" = "xyes"
|
||||
then
|
||||
if test "x$ENABLED_RENEGOTIATION_INDICATION" = "xyes"
|
||||
then
|
||||
AC_MSG_ERROR([cannot enable renegotiation-indication and secure-renegotiation.])
|
||||
fi
|
||||
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SECURE_RENEGOTIATION"
|
||||
fi
|
||||
|
||||
|
@ -63,6 +63,10 @@
|
||||
CYASSL_CALLBACKS needs LARGE_STATIC_BUFFERS, please add LARGE_STATIC_BUFFERS
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SECURE_RENEGOTIATION) && defined(HAVE_RENEGOTIATION_INDICATION)
|
||||
#error Cannot use both secure-renegotiation and renegotiation-indication
|
||||
#endif
|
||||
|
||||
static int BuildMessage(CYASSL* ssl, byte* output, int outSz,
|
||||
const byte* input, int inSz, int type);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user