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++; line_num++;
if (checkpubkey_line(line, line_num, filename, ret = checkpubkey_line(line, line_num, filename, algo, algolen, keyblob, keybloblen);
algo, algolen, keyblob, keybloblen) == DROPBEAR_SUCCESS) { if (ret == DROPBEAR_SUCCESS) {
break; break;
} }