mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
fix pubkey authentication return value
This commit is contained in:
parent
a5ec3aca7d
commit
cc803ee802
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user