From 384cc9d3daa9ccedb05262c6ee181460f621d752 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mois=C3=A9s=20Guimar=C3=A3es?= Date: Mon, 2 Dec 2013 16:01:55 -0300 Subject: [PATCH] adding truncated_hmac to tlsx --- configure.ac | 3 ++- src/tls.c | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 34d37f647..d851731cf 100644 --- a/configure.ac +++ b/configure.ac @@ -1191,7 +1191,8 @@ if test "x$ENABLED_TLSX" = "xyes" then ENABLED_SNI=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 #valgrind diff --git a/src/tls.c b/src/tls.c index 3c07255e7..3d9a83a20 100644 --- a/src/tls.c +++ b/src/tls.c @@ -1141,9 +1141,6 @@ static int TLSX_THM_Parse(CYASSL* ssl, byte* input, word16 length, ssl->truncated_hmac = 1; -#error "TRUNCATED HMAC IS NOT FINISHED YET \ -(contact moises@wolfssl.com for more info)" - return 0; }