summaryrefslogtreecommitdiffhomepage
path: root/signkey.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2011-12-04 05:24:50 +0800
committerMatt Johnston <matt@ucc.asn.au>2011-12-04 05:24:50 +0800
commitfd0b05943df886d71a20219e9ff6baa900b0eb8f (patch)
treee5d65fb53eabeb0ba8fb11e59326c6cb2409b6f5 /signkey.c
parent2e0145fb95bbe2b379412f661494c3954b1c21a1 (diff)
- Fix some format strings in TRACE()s
Diffstat (limited to 'signkey.c')
-rw-r--r--signkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signkey.c b/signkey.c
index c53805a..1d908f4 100644
--- a/signkey.c
+++ b/signkey.c
@@ -105,11 +105,11 @@ int buf_get_pub_key(buffer *buf, sign_key *key, int *type) {
m_free(ident);
if (*type != DROPBEAR_SIGNKEY_ANY && *type != keytype) {
- TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, type))
+ TRACE(("buf_get_pub_key bad type - got %d, expected %d", keytype, *type))
return DROPBEAR_FAILURE;
}
- TRACE(("buf_get_pub_key keytype is %d"))
+ TRACE(("buf_get_pub_key keytype is %d", keytype))
*type = keytype;