diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-31 22:09:35 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-08-31 22:09:35 +0000 |
commit | 2c5fbeb28b0e9273c863415078982db4ed98603e (patch) | |
tree | f39570cc9273800a3333e8d6252a334957d9e3b6 /usr.bin/ssh | |
parent | 32e5fd51d264649d9984c8126c21a304d8c383c5 (diff) |
add a flag to SSH2_AGENTC_SIGN_REQUEST for future extensions
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r-- | usr.bin/ssh/authfd.c | 3 | ||||
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ssh/authfd.c b/usr.bin/ssh/authfd.c index 6372bae6cf0..6bfed431178 100644 --- a/usr.bin/ssh/authfd.c +++ b/usr.bin/ssh/authfd.c @@ -17,7 +17,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: authfd.c,v 1.25 2000/08/19 21:34:42 markus Exp $"); +RCSID("$OpenBSD: authfd.c,v 1.26 2000/08/31 22:09:34 markus Exp $"); #include "ssh.h" #include "rsa.h" @@ -355,6 +355,7 @@ ssh_agent_sign(AuthenticationConnection *auth, buffer_put_char(&msg, SSH2_AGENTC_SIGN_REQUEST); buffer_put_string(&msg, blob, blen); buffer_put_string(&msg, data, datalen); + buffer_put_int(&msg, 0); /* flags, unused */ xfree(blob); if (ssh_request_reply(auth, &msg, &msg) == 0) { diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 042ef1c522c..31681f7f45c 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.33 2000/08/19 21:34:43 markus Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.34 2000/08/31 22:09:34 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-agent.c,v 1.33 2000/08/19 21:34:43 markus Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.34 2000/08/31 22:09:34 markus Exp $"); #include "ssh.h" #include "rsa.h" @@ -215,6 +215,7 @@ process_sign_request2(SocketEntry *e) blob = buffer_get_string(&e->input, &blen); data = buffer_get_string(&e->input, &dlen); + buffer_get_int(&e->input); /* flags, unused */ key = dsa_key_from_blob(blob, blen); if (key != NULL) { |