From 2def230231abd34f6012df284ab468321ffedc10 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 2 May 2014 14:07:03 +0200 Subject: [PATCH] common: Fix test for openpgp_oid_is_ed25519. * common/t-openpgp-oid.c (test_openpgp_oid_is_ed25519): Add correct value. --- common/t-openpgp-oid.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/common/t-openpgp-oid.c b/common/t-openpgp-oid.c index d101b7597..79e5a7095 100644 --- a/common/t-openpgp-oid.c +++ b/common/t-openpgp-oid.c @@ -145,10 +145,15 @@ test_openpgp_oid_is_ed25519 (void) { 0, "0.0" }, { 0, "1.3.132.0.35" }, { 0, "1.3.6.1.4.1.3029.1.5.0" }, - { 1, "1.3.6.1.4.1.3029.1.5.1" }, + { 0, "1.3.6.1.4.1.3029.1.5.1" }, /* Used during Libgcrypt development. */ { 0, "1.3.6.1.4.1.3029.1.5.2" }, { 0, "1.3.6.1.4.1.3029.1.5.1.0" }, { 0, "1.3.6.1.4.1.3029.1.5" }, + { 0, "1.3.6.1.4.1.11591.15.0" }, + { 1, "1.3.6.1.4.1.11591.15.1" }, /* Your the one we want. */ + { 0, "1.3.6.1.4.1.11591.15.2" }, + { 0, "1.3.6.1.4.1.11591.15.1.0" }, + { 0, "1.3.6.1.4.1.11591.15" }, { 0, NULL }, }; gpg_error_t err;