diff options
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c index 48a6724f7..582435651 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c | |||
@@ -1096,7 +1096,7 @@ GNUNET_i2s (const struct GNUNET_PeerIdentity *pid) | |||
1096 | static char buf[256]; | 1096 | static char buf[256]; |
1097 | char *ret; | 1097 | char *ret; |
1098 | 1098 | ||
1099 | ret = GNUNET_CRYPTO_ecc_public_sign_key_to_string (&pid->public_key); | 1099 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid->public_key); |
1100 | strcpy (buf, ret); | 1100 | strcpy (buf, ret); |
1101 | GNUNET_free (ret); | 1101 | GNUNET_free (ret); |
1102 | buf[4] = '\0'; | 1102 | buf[4] = '\0'; |
@@ -1119,7 +1119,7 @@ GNUNET_i2s_full (const struct GNUNET_PeerIdentity *pid) | |||
1119 | static char buf[256]; | 1119 | static char buf[256]; |
1120 | char *ret; | 1120 | char *ret; |
1121 | 1121 | ||
1122 | ret = GNUNET_CRYPTO_ecc_public_sign_key_to_string (&pid->public_key); | 1122 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid->public_key); |
1123 | strcpy (buf, ret); | 1123 | strcpy (buf, ret); |
1124 | GNUNET_free (ret); | 1124 | GNUNET_free (ret); |
1125 | return buf; | 1125 | return buf; |