version 1.40, 2001/06/07 20:23:03 |
version 1.41, 2001/06/23 15:12:17 |
|
|
return sock; |
return sock; |
} |
} |
|
|
int |
static int |
ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply) |
ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply) |
{ |
{ |
int l, len; |
int l, len; |
|
|
|
|
/* Encode key for a message to the agent. */ |
/* Encode key for a message to the agent. */ |
|
|
void |
static void |
ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment) |
ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment) |
{ |
{ |
buffer_clear(b); |
buffer_clear(b); |
|
|
buffer_put_cstring(b, comment); |
buffer_put_cstring(b, comment); |
} |
} |
|
|
void |
static void |
ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) |
ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) |
{ |
{ |
buffer_clear(b); |
buffer_clear(b); |