summaryrefslogtreecommitdiff
path: root/tests/rsa-md5-collision/rsa-md5-collision.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rsa-md5-collision/rsa-md5-collision.sh')
-rwxr-xr-xtests/rsa-md5-collision/rsa-md5-collision.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/rsa-md5-collision/rsa-md5-collision.sh b/tests/rsa-md5-collision/rsa-md5-collision.sh
index 24230fd74e..27289595d9 100755
--- a/tests/rsa-md5-collision/rsa-md5-collision.sh
+++ b/tests/rsa-md5-collision/rsa-md5-collision.sh
@@ -1,8 +1,9 @@
#!/bin/sh
# Copyright (C) 2006, 2008, 2010, 2012 Free Software Foundation, Inc.
+# Copyright (C) 2016, Red Hat, Inc.
#
-# Author: Simon Josefsson
+# Author: Simon Josefsson, Nikos Mavrogiannopoulos
#
# This file is part of GnuTLS.
#
@@ -28,6 +29,10 @@ TMPFILE2=rsa-md5-2.$$.tmp
. ${srcdir}/scripts/common.sh
check_for_datefudge
+# Disable leak detection
+ASAN_OPTIONS="detect_leaks=0"
+export ASAN_OPTIONS
+
datefudge -s "2006-10-1" \
"${CERTTOOL}" --verify-chain --outfile "$TMPFILE1" --infile "${srcdir}/rsa-md5-collision/colliding-chain-md5-1.pem"
if test $? = 0;then