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)