aboutsummaryrefslogtreecommitdiff
path: root/src/regex/regex_internal_dht.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/regex_internal_dht.c')
-rw-r--r--src/regex/regex_internal_dht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regex/regex_internal_dht.c b/src/regex/regex_internal_dht.c
index 4f7b16705..554d4320b 100644
--- a/src/regex/regex_internal_dht.c
+++ b/src/regex/regex_internal_dht.c
@@ -112,7 +112,7 @@ regex_iterator (void *cls,
112 ab.purpose.purpose = ntohl (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT); 112 ab.purpose.purpose = ntohl (GNUNET_SIGNATURE_PURPOSE_REGEX_ACCEPT);
113 ab.expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_DHT_MAX_EXPIRATION)); 113 ab.expiration_time = GNUNET_TIME_absolute_hton (GNUNET_TIME_relative_to_absolute (GNUNET_CONSTANTS_DHT_MAX_EXPIRATION));
114 ab.key = *key; 114 ab.key = *key;
115 GNUNET_CRYPTO_ecc_key_get_public (h->priv, 115 GNUNET_CRYPTO_ecc_key_get_public_for_signature (h->priv,
116 &ab.public_key); 116 &ab.public_key);
117 GNUNET_assert (GNUNET_OK == 117 GNUNET_assert (GNUNET_OK ==
118 GNUNET_CRYPTO_ecc_sign (h->priv, 118 GNUNET_CRYPTO_ecc_sign (h->priv,
@@ -381,7 +381,7 @@ dht_get_string_accept_handler (void *cls, struct GNUNET_TIME_Absolute exp,
381 "# regex accepting block bytes found", 381 "# regex accepting block bytes found",
382 size, GNUNET_NO); 382 size, GNUNET_NO);
383 GNUNET_CRYPTO_hash (&block->public_key, 383 GNUNET_CRYPTO_hash (&block->public_key,
384 sizeof (struct GNUNET_CRYPTO_EccPublicKey), 384 sizeof (struct GNUNET_CRYPTO_EccPublicSignKey),
385 &pid.hashPubKey); 385 &pid.hashPubKey);
386 info->callback (info->callback_cls, 386 info->callback (info->callback_cls,
387 &pid, 387 &pid,