aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_interceptor.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-05-29 08:18:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-05-29 08:18:55 +0000
commit022002438e4047d235a688cfd9da7b63ab990103 (patch)
tree8d0cb444a3ab376b5a8f614fb87bdeb31e7b3327 /src/gns/gnunet-service-gns_interceptor.c
parentb62eb443ee3af84f87030fad9fd11a948b1a2503 (diff)
downloadgnunet-022002438e4047d235a688cfd9da7b63ab990103.tar.gz
gnunet-022002438e4047d235a688cfd9da7b63ab990103.zip
-switching GNS from RSA to ECC
Diffstat (limited to 'src/gns/gnunet-service-gns_interceptor.c')
-rw-r--r--src/gns/gnunet-service-gns_interceptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c
index cbacc318d..affa0f5d6 100644
--- a/src/gns/gnunet-service-gns_interceptor.c
+++ b/src/gns/gnunet-service-gns_interceptor.c
@@ -66,7 +66,7 @@ static struct GNUNET_CRYPTO_ShortHashCode our_zone;
66/** 66/**
67 * Our priv key 67 * Our priv key
68 */ 68 */
69static struct GNUNET_CRYPTO_RsaPrivateKey *our_key; 69static struct GNUNET_CRYPTO_EccPrivateKey *our_key;
70 70
71/** 71/**
72 * Default timeout 72 * Default timeout
@@ -344,7 +344,7 @@ handle_dns_request (void *cls,
344 */ 344 */
345int 345int
346gns_interceptor_init (struct GNUNET_CRYPTO_ShortHashCode zone, 346gns_interceptor_init (struct GNUNET_CRYPTO_ShortHashCode zone,
347 struct GNUNET_CRYPTO_RsaPrivateKey *key, 347 struct GNUNET_CRYPTO_EccPrivateKey *key,
348 const struct GNUNET_CONFIGURATION_Handle *c) 348 const struct GNUNET_CONFIGURATION_Handle *c)
349{ 349{
350 GNUNET_log(GNUNET_ERROR_TYPE_INFO, 350 GNUNET_log(GNUNET_ERROR_TYPE_INFO,