adding truncated_hmac to tlsx

This commit is contained in:
Moisés Guimarães
2013-12-02 16:01:55 -03:00
parent 4c62e7ef9e
commit 384cc9d3da
2 changed files with 2 additions and 4 deletions

View File

@ -1191,7 +1191,8 @@ if test "x$ENABLED_TLSX" = "xyes"
then then
ENABLED_SNI=yes ENABLED_SNI=yes
ENABLED_MAX_FRAGMENT=yes ENABLED_MAX_FRAGMENT=yes
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI -DHAVE_MAX_FRAGMENT" ENABLED_TRUNCATED_HMAC=yes
AM_CFLAGS="$AM_CFLAGS -DHAVE_TLS_EXTENSIONS -DHAVE_SNI -DHAVE_MAX_FRAGMENT -DHAVE_TRUNCATED_HMAC"
fi fi
#valgrind #valgrind

View File

@ -1141,9 +1141,6 @@ static int TLSX_THM_Parse(CYASSL* ssl, byte* input, word16 length,
ssl->truncated_hmac = 1; ssl->truncated_hmac = 1;
#error "TRUNCATED HMAC IS NOT FINISHED YET \
(contact moises@wolfssl.com for more info)"
return 0; return 0;
} }