diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto_ecc.c | 2 | ||||
-rw-r--r-- | src/util/gnunet-ecc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_ecc.c b/src/util/crypto_ecc.c index 0d90edd51..1215512f4 100644 --- a/src/util/crypto_ecc.c +++ b/src/util/crypto_ecc.c | |||
@@ -281,7 +281,7 @@ GNUNET_CRYPTO_ecc_key_get_public_for_signature (const struct GNUNET_CRYPTO_EccPr | |||
281 | * @return string representing @a pub | 281 | * @return string representing @a pub |
282 | */ | 282 | */ |
283 | char * | 283 | char * |
284 | GNUNET_CRYPTO_ecc_public_key_to_string (const struct GNUNET_CRYPTO_EccPublicSignKey *pub) | 284 | GNUNET_CRYPTO_ecc_public_sign_key_to_string (const struct GNUNET_CRYPTO_EccPublicSignKey *pub) |
285 | { | 285 | { |
286 | char *pubkeybuf; | 286 | char *pubkeybuf; |
287 | size_t keylen = (sizeof (struct GNUNET_CRYPTO_EccPublicSignKey)) * 8; | 287 | size_t keylen = (sizeof (struct GNUNET_CRYPTO_EccPublicSignKey)) * 8; |
diff --git a/src/util/gnunet-ecc.c b/src/util/gnunet-ecc.c index 6d9e78443..9f76d6b8e 100644 --- a/src/util/gnunet-ecc.c +++ b/src/util/gnunet-ecc.c | |||
@@ -131,7 +131,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
131 | char *s; | 131 | char *s; |
132 | 132 | ||
133 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (pk, &pub); | 133 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (pk, &pub); |
134 | s = GNUNET_CRYPTO_ecc_public_key_to_string (&pub); | 134 | s = GNUNET_CRYPTO_ecc_public_sign_key_to_string (&pub); |
135 | fprintf (stdout, "%s\n", s); | 135 | fprintf (stdout, "%s\n", s); |
136 | GNUNET_free (s); | 136 | GNUNET_free (s); |
137 | } | 137 | } |