summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-25 05:01:22 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-25 05:01:22 +0000
commitbba81213b972ce15fbbaca60b9ffabb42371ce8f (patch)
treee6bd40752969f2b93d179cfb9aaae9074ca45956 /authfd.c
parent34f91883a6f3123656b0a8017d68b658f7cf2403 (diff)
- itojun@cvs.openbsd.org 2001/06/23 15:12:20
[auth1.c auth2.c auth2-chall.c authfd.c authfile.c auth-rhosts.c canohost.c channels.c cipher.c clientloop.c deattack.c dh.c hostfile.c kex.c kexdh.c kexgex.c key.c nchan.c packet.c radix.c readpass.c scp.c servconf.c serverloop.c session.c sftp.c sftp-client.c sftp-glob.c sftp-int.c sftp-server.c ssh-add.c ssh-agent.c ssh.c sshconnect1.c sshconnect2.c sshconnect.c sshd.c ssh-keygen.c ssh-keyscan.c] more strict prototypes. raise warning level in Makefile.inc. markus ok'ed TODO; cleanup headers
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/authfd.c b/authfd.c
index 9f47b0ae8..dfa33a978 100644
--- a/authfd.c
+++ b/authfd.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: authfd.c,v 1.40 2001/06/07 20:23:03 markus Exp $"); 38RCSID("$OpenBSD: authfd.c,v 1.41 2001/06/23 15:12:17 itojun Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41 41
@@ -96,7 +96,7 @@ ssh_get_authentication_socket(void)
96 return sock; 96 return sock;
97} 97}
98 98
99int 99static int
100ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply) 100ssh_request_reply(AuthenticationConnection *auth, Buffer *request, Buffer *reply)
101{ 101{
102 int l, len; 102 int l, len;
@@ -419,7 +419,7 @@ ssh_agent_sign(AuthenticationConnection *auth,
419 419
420/* Encode key for a message to the agent. */ 420/* Encode key for a message to the agent. */
421 421
422void 422static void
423ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment) 423ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment)
424{ 424{
425 buffer_clear(b); 425 buffer_clear(b);
@@ -435,7 +435,7 @@ ssh_encode_identity_rsa1(Buffer *b, RSA *key, const char *comment)
435 buffer_put_cstring(b, comment); 435 buffer_put_cstring(b, comment);
436} 436}
437 437
438void 438static void
439ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment) 439ssh_encode_identity_ssh2(Buffer *b, Key *key, const char *comment)
440{ 440{
441 buffer_clear(b); 441 buffer_clear(b);