From 5f6a7d692e3faa440d94a5fc80ab3ba8bd09003d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 15 Nov 2014 17:51:53 +0100 Subject: ec25519-fhmqvc: extend describe_peer to return the whole key --- src/protocols/ec25519_fhmqvc/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocols/ec25519_fhmqvc/util.c') diff --git a/src/protocols/ec25519_fhmqvc/util.c b/src/protocols/ec25519_fhmqvc/util.c index f34f709..712669c 100644 --- a/src/protocols/ec25519_fhmqvc/util.c +++ b/src/protocols/ec25519_fhmqvc/util.c @@ -102,7 +102,7 @@ bool fastd_protocol_ec25519_fhmqvc_describe_peer(const fastd_peer_t *peer, char char dumpbuf[65]; hexdump(dumpbuf, peer->key->key.u8); - snprintf(buf, len, "%.16s", dumpbuf); + snprintf(buf, len, "%s", dumpbuf); return true; } -- cgit v1.2.3