From 380320bb72cc353a901790ab04b6287fd335dc4a Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Wed, 11 Jul 2018 10:03:34 +1000 Subject: [PATCH] Supply some more missing "int r" in skey --- monitor.c | 2 +- monitor_wrap.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/monitor.c b/monitor.c index 14abc1bca..56d136c29 100644 --- a/monitor.c +++ b/monitor.c @@ -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)); diff --git a/monitor_wrap.c b/monitor_wrap.c index f291ac085..1409a1e55 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c @@ -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)