[openssh-commits] [openssh] 02/03: Supply missing third arg in skey.

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Jul 11 10:11:44 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 7aab109b8b90a353c1af780524f1ac0d3af47bab
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Wed Jul 11 10:06:18 2018 +1000

    Supply missing third arg in skey.
    
    During the change to the new buffer api the third arg to
    sshbuf_get_cstring was ommitted.  Fixes build when configured with skey.
---
 monitor_wrap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor_wrap.c b/monitor_wrap.c
index 1409a1e5..cb1c999e 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -903,7 +903,7 @@ mm_skey_query(void *ctx, char **name, char **infotxt,
 	}
 
 	/* Get the challenge, and format the response */
-	if ((r = sshbuf_get_cstring(m, &challenge)) != 0)
+	if ((r = sshbuf_get_cstring(m, &challenge, NULL)) != 0)
 		fatal("%s: buffer error: %s", __func__, ssh_err(r));
 	sshbuf_free(m);
 

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


More information about the openssh-commits mailing list