diff options
Diffstat (limited to 'crypto/x509v3/v3nametest.c')
-rw-r--r-- | crypto/x509v3/v3nametest.c | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/crypto/x509v3/v3nametest.c b/crypto/x509v3/v3nametest.c index 77d86795c1..4cd6f36888 100644 --- a/crypto/x509v3/v3nametest.c +++ b/crypto/x509v3/v3nametest.c @@ -7,11 +7,10 @@ static const char *const names[] = { "a", "b", ".", "*", "@", ".a", "a.", ".b", "b.", ".*", "*.", "*@", "@*", "a@", "@a", "b@", "..", - "@@", "**", - "*.com", "*com", "*.*.com", "*com", "com*", "*example.com", - "*@example.com", "test@*.example.com", - "example.com", "www.example.com", "test.www.example.com", - "*.example.com", "*.www.example.com", "test.*.example.com", "www.*.com", + "@@", "**", "*.com", "*com", "*.*.com", "*com", "com*", "*example.com", + "*@example.com", "test@*.example.com", "example.com", "www.example.com", + "test.www.example.com", "*.example.com", "*.www.example.com", + "test.*.example.com", "www.*.com", "example.net", "xn--rger-koa.example.com", "a.example.com", "b.example.com", "postmaster@example.com", "Postmaster@example.com", @@ -21,28 +20,20 @@ static const char *const names[] = static const char *const exceptions[] = { - "set CN: host: [*.example.com] does not match [*.example.com]", "set CN: host: [*.example.com] matches [a.example.com]", "set CN: host: [*.example.com] matches [b.example.com]", "set CN: host: [*.example.com] matches [www.example.com]", "set CN: host: [*.example.com] matches [xn--rger-koa.example.com]", - "set CN: host: [test.*.example.com] does not match [test.*.example.com]", - "set CN: host: [test.*.example.com] matches [test.www.example.com]", - "set CN: host: [*.www.example.com] does not match [*.www.example.com]", "set CN: host: [*.www.example.com] matches [test.www.example.com]", "set emailAddress: email: [postmaster@example.com] does not match [Postmaster@example.com]", "set emailAddress: email: [postmaster@EXAMPLE.COM] does not match [Postmaster@example.com]", "set emailAddress: email: [Postmaster@example.com] does not match [postmaster@example.com]", "set emailAddress: email: [Postmaster@example.com] does not match [postmaster@EXAMPLE.COM]", "set dnsName: host: [*.example.com] matches [www.example.com]", - "set dnsName: host: [*.example.com] does not match [*.example.com]", "set dnsName: host: [*.example.com] matches [a.example.com]", "set dnsName: host: [*.example.com] matches [b.example.com]", "set dnsName: host: [*.example.com] matches [xn--rger-koa.example.com]", "set dnsName: host: [*.www.example.com] matches [test.www.example.com]", - "set dnsName: host: [*.www.example.com] does not match [*.www.example.com]", - "set dnsName: host: [test.*.example.com] matches [test.www.example.com]", - "set dnsName: host: [test.*.example.com] does not match [test.*.example.com]", "set rfc822Name: email: [postmaster@example.com] does not match [Postmaster@example.com]", "set rfc822Name: email: [Postmaster@example.com] does not match [postmaster@example.com]", "set rfc822Name: email: [Postmaster@example.com] does not match [postmaster@EXAMPLE.COM]", |