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.
This commit is contained in:
Darren Tucker 2018-07-11 10:06:18 +10:00
parent 380320bb72
commit 7aab109b8b

View File

@ -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);