Supply missing "int r" in skey code.

This commit is contained in:
Darren Tucker 2018-07-11 09:54:00 +10:00
parent 984bacfaac
commit 79c9d35018
1 changed files with 1 additions and 0 deletions

View File

@ -973,6 +973,7 @@ mm_answer_skeyquery(int sock, struct sshbuf *m)
struct skey skey; struct skey skey;
char challenge[1024]; char challenge[1024];
u_int success; u_int success;
int r;
success = _compat_skeychallenge(&skey, authctxt->user, challenge, success = _compat_skeychallenge(&skey, authctxt->user, challenge,
sizeof(challenge)) < 0 ? 0 : 1; sizeof(challenge)) < 0 ? 0 : 1;