# HG changeset patch # User Matt Johnston # Date 1507127418 -28800 # Node ID 15d4b821bcc9da01daab72a928017600664ce0ad # Parent 7e95ab97d2b05cabab6a44ed28e54041efe302ba fix checkpubkey_line function name for TRACE diff -r 7e95ab97d2b0 -r 15d4b821bcc9 svr-authpubkey.c --- 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);