summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-08 13:09:35 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-08 14:57:04 +0100
commit6ca5c18e05fd123d8f18b4f492259d39c90ce09f (patch)
treee71daf38ba7fa16db1d9d541823bda2a678154d0 /tests
parent437161502558c4c43bb8d74a2a8cbd697b668a1b (diff)
downloadgnutls-6ca5c18e05fd123d8f18b4f492259d39c90ce09f.tar.gz
tests: disable leak checks in rsa-md5-collision.sh
Diffstat (limited to 'tests')
-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