diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-02 01:42:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-02 01:42:55 +0200 |
commit | 6a86935d5e69874324a158fa6d418b88df8c575d (patch) | |
tree | dde6040a0c0bcace637d8a70a8f2aa5e54c0cf4b /src/gnsrecord/gnsrecord_crypto.c | |
parent | d2eed41d5637e802c9b8c6a8d0648636c16e5b88 (diff) | |
download | gnunet-6a86935d5e69874324a158fa6d418b88df8c575d.tar.gz gnunet-6a86935d5e69874324a158fa6d418b88df8c575d.zip |
add test for query derivation (passed instantly)
Diffstat (limited to 'src/gnsrecord/gnsrecord_crypto.c')
-rw-r--r-- | src/gnsrecord/gnsrecord_crypto.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gnsrecord/gnsrecord_crypto.c b/src/gnsrecord/gnsrecord_crypto.c index d9fe2ae40..cebc842f3 100644 --- a/src/gnsrecord/gnsrecord_crypto.c +++ b/src/gnsrecord/gnsrecord_crypto.c | |||
@@ -405,8 +405,11 @@ GNUNET_GNSRECORD_query_from_private_key (const struct GNUNET_CRYPTO_EcdsaPrivate | |||
405 | { | 405 | { |
406 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; | 406 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; |
407 | 407 | ||
408 | GNUNET_CRYPTO_ecdsa_key_get_public (zone, &pub); | 408 | GNUNET_CRYPTO_ecdsa_key_get_public (zone, |
409 | GNUNET_GNSRECORD_query_from_public_key (&pub, label, query); | 409 | &pub); |
410 | GNUNET_GNSRECORD_query_from_public_key (&pub, | ||
411 | label, | ||
412 | query); | ||
410 | } | 413 | } |
411 | 414 | ||
412 | 415 | ||