Mercurial > dropbear
diff svr-authpubkey.c @ 1452:15d4b821bcc9
fix checkpubkey_line function name for TRACE
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 04 Oct 2017 22:30:18 +0800 |
parents | 7e95ab97d2b0 |
children | fb90a5ba84e0 |
line wrap: on
line diff
--- a/svr-authpubkey.c Wed Oct 04 22:29:42 2017 +0800 +++ b/svr-authpubkey.c Wed Oct 04 22:30:18 2017 +0800 @@ -196,7 +196,7 @@ int ret = DROPBEAR_FAILURE; if (line->len < MIN_AUTHKEYS_LINE || line->len > MAX_AUTHKEYS_LINE) { - TRACE(("checkpubkey: bad line length %d", line->len)) + TRACE(("checkpubkey_line: bad line length %d", line->len)) return DROPBEAR_FAILURE; } @@ -261,7 +261,7 @@ /* check for space (' ') character */ if (buf_getbyte(line) != ' ') { - TRACE(("checkpubkey: space character expected, isn't there")) + TRACE(("checkpubkey_line: space character expected, isn't there")) goto out; } @@ -273,7 +273,7 @@ buf_setpos(line, pos); buf_setlen(line, line->pos + len); - TRACE(("checkpubkey: line pos = %d len = %d", line->pos, line->len)) + TRACE(("checkpubkey_line: line pos = %d len = %d", line->pos, line->len)) ret = cmp_base64_key(keyblob, keybloblen, (const unsigned char *) algo, algolen, line, NULL);