summaryrefslogtreecommitdiff
path: root/other/bootstrap_daemon/src/tox-bootstrapd.c
diff options
context:
space:
mode:
Diffstat (limited to 'other/bootstrap_daemon/src/tox-bootstrapd.c')
-rw-r--r--other/bootstrap_daemon/src/tox-bootstrapd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/bootstrap_daemon/src/tox-bootstrapd.c b/other/bootstrap_daemon/src/tox-bootstrapd.c
index bdf679c9..9f1a2db4 100644
--- a/other/bootstrap_daemon/src/tox-bootstrapd.c
+++ b/other/bootstrap_daemon/src/tox-bootstrapd.c
@@ -109,7 +109,7 @@ static void print_public_key(const uint8_t *public_key)
109 size_t i; 109 size_t i;
110 110
111 for (i = 0; i < CRYPTO_PUBLIC_KEY_SIZE; i++) { 111 for (i = 0; i < CRYPTO_PUBLIC_KEY_SIZE; i++) {
112 index += sprintf(buffer + index, "%02hhX", public_key[i]); 112 index += sprintf(buffer + index, "%02X", public_key[i]);
113 } 113 }
114 114
115 log_write(LOG_LEVEL_INFO, "Public Key: %s\n", buffer); 115 log_write(LOG_LEVEL_INFO, "Public Key: %s\n", buffer);