summaryrefslogtreecommitdiff
path: root/src/gns/gnunet-gns-helper-service-w32.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-06 14:18:31 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-06 14:18:31 +0000
commitfe76c075e315c0351e2fe465434ae39087daf014 (patch)
tree436887ccaf331932a3c13a8b9d2a2a710dad4be6 /src/gns/gnunet-gns-helper-service-w32.c
parent7eb2835d8a494c83aedb720a2ac6f6e5ba23f22f (diff)
downloadgnunet-fe76c075e315c0351e2fe465434ae39087daf014.tar.gz
gnunet-fe76c075e315c0351e2fe465434ae39087daf014.zip
moving to new, fixed-size encoding of public and private ECC keys everywhere, also improving ECC API to better support ECRS/GADS operations
Diffstat (limited to 'src/gns/gnunet-gns-helper-service-w32.c')
-rw-r--r--src/gns/gnunet-gns-helper-service-w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-helper-service-w32.c b/src/gns/gnunet-gns-helper-service-w32.c
index a15b3547c..f0bf6577c 100644
--- a/src/gns/gnunet-gns-helper-service-w32.c
+++ b/src/gns/gnunet-gns-helper-service-w32.c
@@ -663,7 +663,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
663 663
664 char* keyfile; 664 char* keyfile;
665 struct GNUNET_CRYPTO_EccPrivateKey *key = NULL; 665 struct GNUNET_CRYPTO_EccPrivateKey *key = NULL;
666 struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded pkey; 666 struct GNUNET_CRYPTO_EccPublicKey pkey;
667 struct GNUNET_CRYPTO_ShortHashAsciiEncoded zonename; 667 struct GNUNET_CRYPTO_ShortHashAsciiEncoded zonename;
668 668
669 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns", 669 if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (cfg, "gns",
@@ -680,7 +680,7 @@ run (void *cls, struct GNUNET_SERVER_Handle *server,
680 key = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile); 680 key = GNUNET_CRYPTO_ecc_key_create_from_file (keyfile);
681 GNUNET_CRYPTO_ecc_key_get_public (key, &pkey); 681 GNUNET_CRYPTO_ecc_key_get_public (key, &pkey);
682 GNUNET_CRYPTO_short_hash(&pkey, 682 GNUNET_CRYPTO_short_hash(&pkey,
683 sizeof(struct GNUNET_CRYPTO_EccPublicKeyBinaryEncoded), 683 sizeof(struct GNUNET_CRYPTO_EccPublicKey),
684 &user_zone); 684 &user_zone);
685 zone = &user_zone; 685 zone = &user_zone;
686 GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename); 686 GNUNET_CRYPTO_short_hash_to_enc (zone, &zonename);