[openssh-commits] [openssh] 01/03: Supply some more missing "int r" in skey

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Jul 11 10:11:43 AEST 2018


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit 380320bb72cc353a901790ab04b6287fd335dc4a
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Jul 11 10:03:34 2018 +1000

    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 14abc1bc..56d136c2 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 f291ac08..1409a1e5 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)

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list