diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-05-29 08:18:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-05-29 08:18:55 +0000 |
commit | 022002438e4047d235a688cfd9da7b63ab990103 (patch) | |
tree | 8d0cb444a3ab376b5a8f614fb87bdeb31e7b3327 /src/gns/plugin_block_gns.c | |
parent | b62eb443ee3af84f87030fad9fd11a948b1a2503 (diff) | |
download | gnunet-022002438e4047d235a688cfd9da7b63ab990103.tar.gz gnunet-022002438e4047d235a688cfd9da7b63ab990103.zip |
-switching GNS from RSA to ECC
Diffstat (limited to 'src/gns/plugin_block_gns.c')
-rw-r--r-- | src/gns/plugin_block_gns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gns/plugin_block_gns.c b/src/gns/plugin_block_gns.c index 50ad01215..72149ef4f 100644 --- a/src/gns/plugin_block_gns.c +++ b/src/gns/plugin_block_gns.c | |||
@@ -237,7 +237,7 @@ block_plugin_gns_get_key (void *cls, enum GNUNET_BLOCK_Type type, | |||
237 | return GNUNET_SYSERR; | 237 | return GNUNET_SYSERR; |
238 | } | 238 | } |
239 | GNUNET_CRYPTO_short_hash (&nrb->public_key, | 239 | GNUNET_CRYPTO_short_hash (&nrb->public_key, |
240 | sizeof (struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded), | 240 | sizeof (struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded), |
241 | &pkey_hash); | 241 | &pkey_hash); |
242 | GNUNET_GNS_get_key_for_record (name, &pkey_hash, key); | 242 | GNUNET_GNS_get_key_for_record (name, &pkey_hash, key); |
243 | return GNUNET_OK; | 243 | return GNUNET_OK; |