diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-10 14:38:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-10 14:38:55 +0000 |
commit | 9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch) | |
tree | 68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/gns/gnunet-dns2gns.c | |
parent | 8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff) | |
download | gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip |
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/gns/gnunet-dns2gns.c')
-rw-r--r-- | src/gns/gnunet-dns2gns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-dns2gns.c b/src/gns/gnunet-dns2gns.c index 42d5ef0e2..6b7afdb59 100644 --- a/src/gns/gnunet-dns2gns.c +++ b/src/gns/gnunet-dns2gns.c | |||
@@ -143,7 +143,7 @@ static unsigned int listen_port = 53; | |||
143 | /** | 143 | /** |
144 | * Which GNS zone do we translate incoming DNS requests to? | 144 | * Which GNS zone do we translate incoming DNS requests to? |
145 | */ | 145 | */ |
146 | static struct GNUNET_CRYPTO_EccPublicSignKey my_zone; | 146 | static struct GNUNET_CRYPTO_EcdsaPublicKey my_zone; |
147 | 147 | ||
148 | /** | 148 | /** |
149 | * '-z' option with the main zone to use. | 149 | * '-z' option with the main zone to use. |
@@ -741,7 +741,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
741 | } | 741 | } |
742 | if ( (NULL == gns_zone_str) || | 742 | if ( (NULL == gns_zone_str) || |
743 | (GNUNET_OK != | 743 | (GNUNET_OK != |
744 | GNUNET_CRYPTO_ecc_public_sign_key_from_string (gns_zone_str, | 744 | GNUNET_CRYPTO_ecdsa_public_key_from_string (gns_zone_str, |
745 | strlen (gns_zone_str), | 745 | strlen (gns_zone_str), |
746 | &my_zone)) ) | 746 | &my_zone)) ) |
747 | { | 747 | { |