summaryrefslogtreecommitdiffstats
path: root/tests/certs-interesting
diff options
context:
space:
mode:
Diffstat (limited to 'tests/certs-interesting')
-rw-r--r--tests/certs-interesting/README.md6
-rw-r--r--tests/certs-interesting/cert1.derbin0 -> 1044 bytes
-rw-r--r--tests/certs-interesting/cert1.der.err1
-rw-r--r--tests/certs-interesting/cert10.derbin0 -> 571 bytes
-rw-r--r--tests/certs-interesting/cert2.derbin0 -> 200 bytes
-rw-r--r--tests/certs-interesting/cert2.der.err1
-rw-r--r--tests/certs-interesting/cert3.derbin0 -> 1044 bytes
-rw-r--r--tests/certs-interesting/cert3.der.err1
-rw-r--r--tests/certs-interesting/cert4.derbin0 -> 2223 bytes
-rw-r--r--tests/certs-interesting/cert5.derbin0 -> 414 bytes
-rw-r--r--tests/certs-interesting/cert5.der.err1
-rw-r--r--tests/certs-interesting/cert6.derbin0 -> 65 bytes
-rw-r--r--tests/certs-interesting/cert6.der.err1
-rw-r--r--tests/certs-interesting/cert7.derbin0 -> 1183 bytes
-rw-r--r--tests/certs-interesting/cert8.derbin0 -> 1114 bytes
-rw-r--r--tests/certs-interesting/cert9.derbin0 -> 1418 bytes
16 files changed, 11 insertions, 0 deletions
diff --git a/tests/certs-interesting/README.md b/tests/certs-interesting/README.md
new file mode 100644
index 0000000..b2f35d4
--- /dev/null
+++ b/tests/certs-interesting/README.md
@@ -0,0 +1,6 @@
+This directory contains files used by tests/cert.c.
+
+These are interesting certificates, that used to cause a crash
+or other artifacts during loading. If a filename.err is present
+it should contain the expected error code from gnutls_x509_crt_import();
+otherwise success (0) is assumed.
diff --git a/tests/certs-interesting/cert1.der b/tests/certs-interesting/cert1.der
new file mode 100644
index 0000000..70bccb4
--- /dev/null
+++ b/tests/certs-interesting/cert1.der
Binary files differ
diff --git a/tests/certs-interesting/cert1.der.err b/tests/certs-interesting/cert1.der.err
new file mode 100644
index 0000000..ea69cfe
--- /dev/null
+++ b/tests/certs-interesting/cert1.der.err
@@ -0,0 +1 @@
+-69
diff --git a/tests/certs-interesting/cert10.der b/tests/certs-interesting/cert10.der
new file mode 100644
index 0000000..07ab16d
--- /dev/null
+++ b/tests/certs-interesting/cert10.der
Binary files differ
diff --git a/tests/certs-interesting/cert2.der b/tests/certs-interesting/cert2.der
new file mode 100644
index 0000000..012cc16
--- /dev/null
+++ b/tests/certs-interesting/cert2.der
Binary files differ
diff --git a/tests/certs-interesting/cert2.der.err b/tests/certs-interesting/cert2.der.err
new file mode 100644
index 0000000..ea69cfe
--- /dev/null
+++ b/tests/certs-interesting/cert2.der.err
@@ -0,0 +1 @@
+-69
diff --git a/tests/certs-interesting/cert3.der b/tests/certs-interesting/cert3.der
new file mode 100644
index 0000000..9221be0
--- /dev/null
+++ b/tests/certs-interesting/cert3.der
Binary files differ
diff --git a/tests/certs-interesting/cert3.der.err b/tests/certs-interesting/cert3.der.err
new file mode 100644
index 0000000..ea69cfe
--- /dev/null
+++ b/tests/certs-interesting/cert3.der.err
@@ -0,0 +1 @@
+-69
diff --git a/tests/certs-interesting/cert4.der b/tests/certs-interesting/cert4.der
new file mode 100644
index 0000000..c798fbd
--- /dev/null
+++ b/tests/certs-interesting/cert4.der
Binary files differ
diff --git a/tests/certs-interesting/cert5.der b/tests/certs-interesting/cert5.der
new file mode 100644
index 0000000..f950ff3
--- /dev/null
+++ b/tests/certs-interesting/cert5.der
Binary files differ
diff --git a/tests/certs-interesting/cert5.der.err b/tests/certs-interesting/cert5.der.err
new file mode 100644
index 0000000..a6605e8
--- /dev/null
+++ b/tests/certs-interesting/cert5.der.err
@@ -0,0 +1 @@
+-62
diff --git a/tests/certs-interesting/cert6.der b/tests/certs-interesting/cert6.der
new file mode 100644
index 0000000..58f4589
--- /dev/null
+++ b/tests/certs-interesting/cert6.der
Binary files differ
diff --git a/tests/certs-interesting/cert6.der.err b/tests/certs-interesting/cert6.der.err
new file mode 100644
index 0000000..b8dae94
--- /dev/null
+++ b/tests/certs-interesting/cert6.der.err
@@ -0,0 +1 @@
+-43
diff --git a/tests/certs-interesting/cert7.der b/tests/certs-interesting/cert7.der
new file mode 100644
index 0000000..5bd4011
--- /dev/null
+++ b/tests/certs-interesting/cert7.der
Binary files differ
diff --git a/tests/certs-interesting/cert8.der b/tests/certs-interesting/cert8.der
new file mode 100644
index 0000000..9180256
--- /dev/null
+++ b/tests/certs-interesting/cert8.der
Binary files differ
diff --git a/tests/certs-interesting/cert9.der b/tests/certs-interesting/cert9.der
new file mode 100644
index 0000000..e6329f6
--- /dev/null
+++ b/tests/certs-interesting/cert9.der
Binary files differ