fix pubkey authentication return value

This commit is contained in:
Matt Johnston 2017-10-04 22:29:42 +08:00
parent a5ec3aca7d
commit cc803ee802

View File

@ -361,8 +361,8 @@ static int checkpubkey(char* algo, unsigned int algolen,
}
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;
}