aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/x509/pss_certs
diff options
context:
space:
mode:
authorFabian Weissberg <[email protected]>2017-11-29 12:29:56 +0100
committerFabian Weissberg <[email protected]>2017-12-20 13:32:51 +0100
commit02e756dba4c1001b790c3496049f40ebfe89539b (patch)
tree30f36cd1faa600dd61f7ffbf6d699d4fefafe127 /src/tests/data/x509/pss_certs
parent2918801d97ccdad5327320ee29bdc2cf666fb08a (diff)
Fix various x509 path validation bugs + path building with ambiguous DNs
Signed-off-by: Fabian Weissberg <[email protected]>
Diffstat (limited to 'src/tests/data/x509/pss_certs')
-rw-r--r--src/tests/data/x509/pss_certs/03/end.crt106
-rw-r--r--src/tests/data/x509/pss_certs/03/root.crt52
-rw-r--r--src/tests/data/x509/pss_certs/04/end.crt107
-rw-r--r--src/tests/data/x509/pss_certs/04/root.crt52
4 files changed, 158 insertions, 159 deletions
diff --git a/src/tests/data/x509/pss_certs/03/end.crt b/src/tests/data/x509/pss_certs/03/end.crt
index f6298057d..f726924f0 100644
--- a/src/tests/data/x509/pss_certs/03/end.crt
+++ b/src/tests/data/x509/pss_certs/03/end.crt
@@ -1,53 +1,53 @@
------BEGIN CERTIFICATE-----
-MIIErDCCA2CgAwIBAgIGAVyhUN7SMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
-BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
-VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
-bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
-bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMGoxETAPBgNVBAMM
-CFBTUy1DZXJ0MRQwEgYDVQQLDAtCb3Rhbi1UZXN0czEOMAwGA1UECgwFQm90YW4x
-DzANBgNVBA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Vazsov3JfB6xVQRu6wNSw
+i1K9c3NmJPD+jN+F2Ga1Y1bhEI2GJUBsulg5nfJ9y+p5Xez8OsqM3vMZ9ukhl0l9
+UwHxebwzRKL/yad3iXiPAV7a2tluZs2WgnlHlTTMSVBDTgzVgQIDAQABo4G5MIG2
+MA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MIGSBgNVHSMEgYowgYeA
+FDb1lDgJxpP73FY8su+YiBZJsZ9coWekZTBjMQ8wDQYDVQQDDAZQU1MtQ0ExFDAS
+BgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3RhbjEPMA0GA1UEBwwGQm9j
+aHVtMQwwCgYDVQQIDANOUlcxCzAJBgNVBAYTAkRFggYBYAHySCkwQQYJKoZIhvcN
+AQEKMDSgDzANBglghkgBZQMEAgEFAKEcMBoGCSqGSIb3DQEBCDANBglghkgBZQME
+AgEFAKIDAgEgA4IBAQAj45MXBTbkT7M07h+EFBnjCTZ7SriCw3nhZAjSqK35EjGH
+l66YRr/oaqgyWaL67TBDNG0yUtW42chOXmbvgwryvKganUjJsOmaYqOng1V4C6N2
+2ld+pMvQSLG1q6O1lfJLKRMKfbEuwoza8CiBXqzrKFA1LIc8RgWQ83pyGSsdK6yq
+fpExGBDk8tZI5pVLiSfINcqStr+tSt8egrkD4O437li0paALfL719jVjH3vL6L+T
+dZ89ty1Pv30bvipPe0SUGtiUiNEvdR+ia8WJtjKq18mKwklPH/DmhS5IuNawwoo5
+XXNV7igmlyKvO+yoa67HNw1w0d4tRCEQJnM38zuV
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/03/root.crt b/src/tests/data/x509/pss_certs/03/root.crt
index deb03ade9..253e616bf 100644
--- a/src/tests/data/x509/pss_certs/03/root.crt
+++ b/src/tests/data/x509/pss_certs/03/root.crt
@@ -1,26 +1,26 @@
------BEGIN CERTIFICATE-----
-MIIEeTCCAy2gAwIBAgIGAVygrFzUMEEGCSqGSIb3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end.crt b/src/tests/data/x509/pss_certs/04/end.crt
index b4269b27f..e83a40df8 100644
--- a/src/tests/data/x509/pss_certs/04/end.crt
+++ b/src/tests/data/x509/pss_certs/04/end.crt
@@ -1,54 +1,53 @@
------BEGIN CERTIFICATE-----
-MIIErzCCA2OgAwIBAgIGAVyhu3riMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
-BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
-VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
-bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
-bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMG8xFjAUBgNVBAMM
-DVBTUy1EaXNrLUNlcnQxFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVC
-b3RhbjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dl
-cm1hbnkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCViOl2DheS1Fks
-/IJDP+IYawWWtEh7RAJRd5wz1oSoK0i4I8Yg12JzkFuhypIUOQlT92woDN+nIwc/
-+Ifl8LelowIjZNkdL+oERP++SOzQu6r1lXlIHDS9hEcNF/40YhyKKMxCwTa9KqGO
-qAWiPfXu6uFKQlPMorFwY/t3gbDdWAcNQl4XRSjQEk7fnZO2N4mSpCWxB1BuMRPE
-UAe3beuzSi5jGEDHXXNBk5imk3FfzJ7MctnYU0agWW4fuMJ/zmNLPQ/FMklST6cK
-nweA5pMuJyTw2gHTnReOR5i9J0WuHu1r3QuwBVg2eWiavIdonYTw9xqagaCv4EJO
-umkxlsJPAgMBAAGjge0wgeowDgYDVR0PAQH/BAQDAgUgMAwGA1UdEwEB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SriCw3nhZAjSqK35EjGH
+l66YRr/oaqgyWaL67TBDNG0yUtW42chOXmbvgwryvKganUjJsOmaYqOng1V4C6N2
+2ld+pMvQSLG1q6O1lfJLKRMKfbEuwoza8CiBXqzrKFA1LIc8RgWQ83pyGSsdK6yq
+fpExGBDk8tZI5pVLiSfINcqStr+tSt8egrkD4O437li0paALfL719jVjH3vL6L+T
+dZ89ty1Pv30bvipPe0SUGtiUiNEvdR+ia8WJtjKq18mKwklPH/DmhS5IuNawwoo5
+XXNV7igmlyKvO+yoa67HNw1w0d4tRCEQJnM38zuV
+-----END CERTIFICATE-----
diff --git a/src/tests/data/x509/pss_certs/04/root.crt b/src/tests/data/x509/pss_certs/04/root.crt
index deb03ade9..253e616bf 100644
--- a/src/tests/data/x509/pss_certs/04/root.crt
+++ b/src/tests/data/x509/pss_certs/04/root.crt
@@ -1,26 +1,26 @@
------BEGIN CERTIFICATE-----
-MIIEeTCCAy2gAwIBAgIGAVygrFzUMEEGCSqGSIb3DQEBCjA0oA8wDQYJYIZIAWUD
-BAIBBQChHDAaBgkqhkiG9w0BAQgwDQYJYIZIAWUDBAIBBQCiAwIBIDBoMQ8wDQYD
-VQQDDAZQU1MtQ0ExFDASBgNVBAsMC0JvdGFuLVRlc3RzMQ4wDAYDVQQKDAVCb3Rh
-bjEPMA0GA1UEBwwGQm9jaHVtMQwwCgYDVQQIDANOUlcxEDAOBgNVBAYTB0dlcm1h
-bnkwIBcNOTkxMjMxMjMwMDAwWhgPMjA5OTEyMzEyMzAwMDBaMGgxDzANBgNVBAMM
-BlBTUy1DQTEUMBIGA1UECwwLQm90YW4tVGVzdHMxDjAMBgNVBAoMBUJvdGFuMQ8w
-DQYDVQQHDAZCb2NodW0xDDAKBgNVBAgMA05SVzEQMA4GA1UEBhMHR2VybWFueTCC
-ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKZpazi/xuB2EDdsNCln3XAz
-njxyuwsGetZ4PK9OfEoxaDznFIv8Ll/MV2nO8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