Supply some more missing "int r" in skey
This commit is contained in:
parent
d20720d373
commit
380320bb72
|
@ -996,7 +996,7 @@ mm_answer_skeyrespond(int sock, struct sshbuf *m)
|
||||||
{
|
{
|
||||||
char *response;
|
char *response;
|
||||||
size_t rlen;
|
size_t rlen;
|
||||||
int authok;
|
int authok, r;
|
||||||
|
|
||||||
if ((r = sshbuf_get_cstring(m, &response, &rlen)) != 0)
|
if ((r = sshbuf_get_cstring(m, &response, &rlen)) != 0)
|
||||||
fatal("%s: buffer error: %s", __func__, ssh_err(r));
|
fatal("%s: buffer error: %s", __func__, ssh_err(r));
|
||||||
|
|
|
@ -885,6 +885,7 @@ mm_skey_query(void *ctx, char **name, char **infotxt,
|
||||||
struct sshbuf *m;
|
struct sshbuf *m;
|
||||||
u_int success;
|
u_int success;
|
||||||
char *challenge;
|
char *challenge;
|
||||||
|
int r;
|
||||||
|
|
||||||
debug3("%s: entering", __func__);
|
debug3("%s: entering", __func__);
|
||||||
|
|
||||||
|
@ -920,7 +921,7 @@ int
|
||||||
mm_skey_respond(void *ctx, u_int numresponses, char **responses)
|
mm_skey_respond(void *ctx, u_int numresponses, char **responses)
|
||||||
{
|
{
|
||||||
struct sshbuf *m;
|
struct sshbuf *m;
|
||||||
int authok;
|
int authok, r;
|
||||||
|
|
||||||
debug3("%s: entering", __func__);
|
debug3("%s: entering", __func__);
|
||||||
if (numresponses != 1)
|
if (numresponses != 1)
|
||||||
|
|
Loading…
Reference in New Issue