summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-07-11 10:06:18 +1000
committerDarren Tucker <dtucker@dtucker.net>2018-07-11 10:11:17 +1000
commit7aab109b8b90a353c1af780524f1ac0d3af47bab (patch)
tree3ab649e239749eabba1cabcc28982cc0ad420b0e
parent380320bb72cc353a901790ab04b6287fd335dc4a (diff)
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.
-rw-r--r--monitor_wrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 1409a1e55..cb1c999e0 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -903,7 +903,7 @@ mm_skey_query(void *ctx, char **name, char **infotxt,
903 } 903 }
904 904
905 /* Get the challenge, and format the response */ 905 /* Get the challenge, and format the response */
906 if ((r = sshbuf_get_cstring(m, &challenge)) != 0) 906 if ((r = sshbuf_get_cstring(m, &challenge, NULL)) != 0)
907 fatal("%s: buffer error: %s", __func__, ssh_err(r)); 907 fatal("%s: buffer error: %s", __func__, ssh_err(r));
908 sshbuf_free(m); 908 sshbuf_free(m);
909 909