comparison svr-authpubkey.c @ 1451:7e95ab97d2b0

fix pubkey authentication return value
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 Oct 2017 22:29:42 +0800
parents 4cebe907dfd0
children 15d4b821bcc9
comparison
equal deleted inserted replaced
1448:7dddc4dd7063 1451:7e95ab97d2b0
359 TRACE(("checkpubkey: authorized_keys EOF reached")) 359 TRACE(("checkpubkey: authorized_keys EOF reached"))
360 break; 360 break;
361 } 361 }
362 line_num++; 362 line_num++;
363 363
364 if (checkpubkey_line(line, line_num, filename, 364 ret = checkpubkey_line(line, line_num, filename, algo, algolen, keyblob, keybloblen);
365 algo, algolen, keyblob, keybloblen) == DROPBEAR_SUCCESS) { 365 if (ret == DROPBEAR_SUCCESS) {
366 break; 366 break;
367 } 367 }
368 368
369 /* We continue to the next line otherwise */ 369 /* We continue to the next line otherwise */
370 370