aboutsummaryrefslogtreecommitdiff
path: root/src/util/common_logging.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-10 14:38:55 +0000
commit9351b1e9bdf2b067b6db06562c26ba658cff42b8 (patch)
tree68dc4ab447e7e8b6a20a706858cd36238c1c7c5f /src/util/common_logging.c
parent8beabcd96c0cf1e1873c0b5ff96e537f1beb0b34 (diff)
downloadgnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.tar.gz
gnunet-9351b1e9bdf2b067b6db06562c26ba658cff42b8.zip
separating ECC crypto into functions/structs for ECDHE, ECDSA and EDDSA
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r--src/util/common_logging.c4
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;