summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 15:46:41 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-01-03 16:14:18 +0100
commitfa6732a1a423af95117339c75d527043050d089d (patch)
treef911f18f7df856a23f443ad4062bd2395f40f727
parent396faab678b5e3fe4280e55c9184a503b5ddf0ba (diff)
downloadgnutls-fa6732a1a423af95117339c75d527043050d089d.tar.gz
tests: added test case with invalid X.509 cert
Issue found using oss-fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=300 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/certs-interesting/cert7.derbin0 -> 1183 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3e99d66b1f..ae92ae654c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -36,7 +36,7 @@ EXTRA_DIST = suppressions.valgrind eagain-common.h cert-common.h test-chains.h \
certs-interesting/README.md certs-interesting/cert1.der certs-interesting/cert1.der.err \
certs-interesting/cert2.der certs-interesting/cert2.der.err certs-interesting/cert3.der \
certs-interesting/cert3.der.err certs-interesting/cert4.der certs-interesting/cert5.der \
- certs-interesting/cert6.der \
+ certs-interesting/cert6.der certs-interesting/cert7.der \
certs-interesting/cert3.der.err certs-interesting/cert4.der pkcs7-interesting/pkcs7-1.der \
pkcs7-interesting/pkcs7-1.der.err pkcs7-interesting/pkcs7-2.der pkcs7-interesting/pkcs7-2.der.err \
client-interesting/client1.raw client-interesting/client2.raw client-interesting/client3.disabled
diff --git a/tests/certs-interesting/cert7.der b/tests/certs-interesting/cert7.der
new file mode 100644
index 0000000000..5bd40111e3
--- /dev/null
+++ b/tests/certs-interesting/cert7.der
Binary files differ