diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-10-04 22:29:42 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2017-10-04 22:29:42 +0800 |
commit | cc803ee802fa032d17caf156ca73e940c59c2903 (patch) | |
tree | 390cd694b7da334ddc67faa10f36d0ca00f1d30b /svr-authpubkey.c | |
parent | a5ec3aca7d9355abf580faf88bd9bf1e871164cb (diff) |
fix pubkey authentication return value
Diffstat (limited to 'svr-authpubkey.c')
-rw-r--r-- | svr-authpubkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-authpubkey.c b/svr-authpubkey.c index fbee63f..994e0af 100644 --- a/svr-authpubkey.c +++ b/svr-authpubkey.c @@ -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; } |