diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-04-21 13:36:15 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-05-30 20:38:20 +0100 |
commit | 4328dd41582bcdca8e4f51f0a3abadfafa2163ee (patch) | |
tree | 50ad4c877258855fecbd573c651a8284ea139eeb /test/recipes | |
parent | 684c41c83fdae24b44cdd7af9e71da505d803145 (diff) |
Add Ed25519 verify test.
Add Ed25519 certificate verify test using certificate from
draft-ietf-curdle-pkix-04 and custom generated root certificate.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3503)
Diffstat (limited to 'test/recipes')
-rw-r--r-- | test/recipes/25-test_verify.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/recipes/25-test_verify.t b/test/recipes/25-test_verify.t index 9c425c01e4..643b02e834 100644 --- a/test/recipes/25-test_verify.t +++ b/test/recipes/25-test_verify.t @@ -26,7 +26,7 @@ sub verify { run(app([@args])); } -plan tests => 125; +plan tests => 126; # Canonical success ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), @@ -340,3 +340,7 @@ ok(!verify("ee-pss-sha1-cert", "sslserver", ["root-cert"], ["ca-cert"], "-auth_l ok(verify("ee-pss-sha256-cert", "sslserver", ["root-cert"], ["ca-cert"], "-auth_level", "2"), "PSS signature using SHA256 and auth level 2"); + +# ED25519 certificate from draft-ietf-curdle-pkix-04 +ok(verify("ee-ed25519", "sslserver", ["root-ed25519"], []), + "ED25519 signature"); |