Supply some more missing "int r" in skey

This commit is contained in:
Darren Tucker 2018-07-11 10:03:34 +10:00
parent d20720d373
commit 380320bb72
2 changed files with 3 additions and 2 deletions

View File

@ -996,7 +996,7 @@ mm_answer_skeyrespond(int sock, struct sshbuf *m)
{
char *response;
size_t rlen;
int authok;
int authok, r;
if ((r = sshbuf_get_cstring(m, &response, &rlen)) != 0)
fatal("%s: buffer error: %s", __func__, ssh_err(r));

View File

@ -885,6 +885,7 @@ mm_skey_query(void *ctx, char **name, char **infotxt,
struct sshbuf *m;
u_int success;
char *challenge;
int r;
debug3("%s: entering", __func__);
@ -920,7 +921,7 @@ int
mm_skey_respond(void *ctx, u_int numresponses, char **responses)
{
struct sshbuf *m;
int authok;
int authok, r;
debug3("%s: entering", __func__);
if (numresponses != 1)