gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: GNS: Fix EdDSA lookup by zonekey TLD


From: gnunet
Subject: [gnunet] branch master updated: GNS: Fix EdDSA lookup by zonekey TLD
Date: Sun, 06 Jun 2021 13:40:08 +0200

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 1b18c4db2 GNS: Fix EdDSA lookup by zonekey TLD
1b18c4db2 is described below

commit 1b18c4db21a5cd61d25c3d17a634e16d25a15e4d
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
AuthorDate: Sun Jun 6 13:36:46 2021 +0200

    GNS: Fix EdDSA lookup by zonekey TLD
---
 src/identity/identity_api.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c
index 64c088923..3bbe0b957 100644
--- a/src/identity/identity_api.c
+++ b/src/identity/identity_api.c
@@ -1244,7 +1244,7 @@ GNUNET_IDENTITY_public_key_from_string (const char *str,
   if (GNUNET_OK != ret)
     return GNUNET_SYSERR;
   ktype = ntohl (key->type);
-  return (GNUNET_IDENTITY_TYPE_ECDSA == ktype) ? GNUNET_OK : GNUNET_SYSERR; // 
FIXME other keys, cleaner way?
+  return GNUNET_OK;
 
 }
 
@@ -1262,7 +1262,7 @@ GNUNET_IDENTITY_private_key_from_string (const char *str,
   if (GNUNET_OK != ret)
     return GNUNET_SYSERR;
   ktype = ntohl (key->type);
-  return (GNUNET_IDENTITY_TYPE_ECDSA == ktype) ? GNUNET_OK : GNUNET_SYSERR; // 
FIXME other keys, cleaner way?
+  return GNUNET_OK;
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]