diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-13 12:00:01 +0000 |
commit | a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae (patch) | |
tree | b7768c5cb22e8a4f84d51cbd06dc04861fdb8510 /src/regex | |
parent | 95d42fdcb47eedcf2747614a22dacd676bc7faae (diff) | |
download | gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.tar.gz gnunet-a35c5a11d32bdd0bc24f64de36fbc6b0d0b20aae.zip |
splitting 'struct GNUNET_CRYPTO_EccPublicKey' into one struct for signing and another for encryption
Diffstat (limited to 'src/regex')
-rw-r--r-- | src/regex/regex_internal_dht.c | 4 |
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, |