# HG changeset patch # User Matt Johnston # Date 1507127382 -28800 # Node ID 7e95ab97d2b05cabab6a44ed28e54041efe302ba # Parent 7dddc4dd70631861d6f1cd5ece735b379e99e455 fix pubkey authentication return value diff -r 7dddc4dd7063 -r 7e95ab97d2b0 svr-authpubkey.c --- a/svr-authpubkey.c Tue Jun 27 23:02:05 2017 +0800 +++ b/svr-authpubkey.c Wed Oct 04 22:29:42 2017 +0800 @@ -361,8 +361,8 @@ } line_num++; - if (checkpubkey_line(line, line_num, filename, - algo, algolen, keyblob, keybloblen) == DROPBEAR_SUCCESS) { + ret = checkpubkey_line(line, line_num, filename, algo, algolen, keyblob, keybloblen); + if (ret == DROPBEAR_SUCCESS) { break; }