summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-10 01:00:32 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-10 01:00:32 +0100
commitfdcaa944276891ec12de887b8ac0a76835d16188 (patch)
tree296329042226afac5d46eeb0faa3818f42b11435 /tests
parentbc0f87278e42efd06bf80a98d4c46600e78cfe4b (diff)
downloadgnutls-fdcaa944276891ec12de887b8ac0a76835d16188.tar.gz
last changes for release.gnutls_3_1_4
Diffstat (limited to 'tests')
-rw-r--r--tests/cert-tests/Makefile.am2
-rw-r--r--tests/cert-tests/cert-ecc256.pem18
-rwxr-xr-xtests/cert-tests/dane2
3 files changed, 20 insertions, 2 deletions
diff --git a/tests/cert-tests/Makefile.am b/tests/cert-tests/Makefile.am
index 0819b2d99a..367ab59f67 100644
--- a/tests/cert-tests/Makefile.am
+++ b/tests/cert-tests/Makefile.am
@@ -21,7 +21,7 @@
EXTRA_DIST = ca-no-pathlen.pem no-ca-or-pathlen.pem aki-cert.pem \
template-test.key template-test.pem template-test.tmpl \
- funny-spacing.pem ca-certs.pem dane-test.rr
+ funny-spacing.pem ca-certs.pem dane-test.rr cert-ecc256.pem
dist_check_SCRIPTS = pathlen aki template-test pem-decoding dane
diff --git a/tests/cert-tests/cert-ecc256.pem b/tests/cert-tests/cert-ecc256.pem
new file mode 100644
index 0000000000..3f5cbc1fc2
--- /dev/null
+++ b/tests/cert-tests/cert-ecc256.pem
@@ -0,0 +1,18 @@
+-----BEGIN CERTIFICATE-----
+MIIC4DCCAoagAwIBAgIBBzAKBggqhkjOPQQDAjB9MQswCQYDVQQGEwJCRTEPMA0G
+A1UEChMGR251VExTMSUwIwYDVQQLExxHbnVUTFMgY2VydGlmaWNhdGUgYXV0aG9y
+aXR5MQ8wDQYDVQQIEwZMZXV2ZW4xJTAjBgNVBAMTHEdudVRMUyBjZXJ0aWZpY2F0
+ZSBhdXRob3JpdHkwIhgPMjAxMjA5MDEwOTIyMzZaGA8yMDE5MTAwNTA5MjIzNlow
+gbgxCzAJBgNVBAYTAkdSMRIwEAYDVQQKEwlLb2tvIGluYy4xFzAVBgNVBAsTDnNs
+ZWVwaW5nIGRlcHQuMQ8wDQYDVQQIEwZBdHRpa2kxFTATBgNVBAMTDENpbmR5IExh
+dXBlcjEXMBUGCgmSJomT8ixkAQETB2NsYXVwZXIxDDAKBgNVBAwTA0RyLjEPMA0G
+A1UEQRMGamFja2FsMRwwGgYJKoZIhvcNAQkBFg1ub25lQG5vbmUub3JnMFkwEwYH
+KoZIzj0CAQYIKoZIzj0DAQcDQgAEPBVvHUg+ZFkTLG0EGjgNMFzkP1XL2RcVRnJx
+ksH4xjM9BC7IwQ/AUAR7n8lItUD6b5OCWWFeclfLgwa9zIKUwaOBtjCBszAMBgNV
+HRMBAf8EAjAAMD0GA1UdEQQ2MDSCDHd3dy5ub25lLm9yZ4ITd3d3Lm1vcmV0aGFu
+b25lLm9yZ4IJbG9jYWxob3N0hwTAqAEBMBMGA1UdJQQMMAoGCCsGAQUFBwMBMA8G
+A1UdDwEB/wQFAwMHgAAwHQYDVR0OBBYEFKz6R2fGG0F5Elf3rAXBUOKO0A5bMB8G
+A1UdIwQYMBaAFPC0gf6YEr+1KLlkQAPLzB9mTigDMAoGCCqGSM49BAMCA0gAMEUC
+ICgq4CTInkRQ1DaFoI8wmu2KP8445NWRXKouag2WJSFzAiEAx4KxaoZJNVfBBSc4
+bA9XTz/2OnpgAZutUohNNb/tmRE=
+-----END CERTIFICATE-----
diff --git a/tests/cert-tests/dane b/tests/cert-tests/dane
index e62c7cf12f..0f7907b6fd 100755
--- a/tests/cert-tests/dane
+++ b/tests/cert-tests/dane
@@ -25,7 +25,7 @@ set -e
srcdir=${srcdir:-.}
DANETOOL=${DANETOOL:-../../src/danetool$EXEEXT}
-$DANETOOL --tlsa-rr --load-certificate $srcdir/../certs/cert-ecc256.pem --host www.example.com --outfile tmp-dane.rr 2>/dev/null
+$DANETOOL --tlsa-rr --load-certificate $srcdir/cert-ecc256.pem --host www.example.com --outfile tmp-dane.rr 2>/dev/null
diff $srcdir/dane-test.rr tmp-dane.rr
rc=$?