commit 1b18c4db21a5cd61d25c3d17a634e16d25a15e4d
parent aa25216fe5bb23bb5e7a118114c67a1478acde4c
Author: Martin Schanzenbach <mschanzenbach@posteo.de>
Date: Sun, 6 Jun 2021 13:36:46 +0200
GNS: Fix EdDSA lookup by zonekey TLD
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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;
}