diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:01:22 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:01:22 +0000 |
commit | bba81213b972ce15fbbaca60b9ffabb42371ce8f (patch) | |
tree | e6bd40752969f2b93d179cfb9aaae9074ca45956 /kexgex.c | |
parent | 34f91883a6f3123656b0a8017d68b658f7cf2403 (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 'kexgex.c')
-rw-r--r-- | kexgex.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -24,7 +24,7 @@ | |||
24 | */ | 24 | */ |
25 | 25 | ||
26 | #include "includes.h" | 26 | #include "includes.h" |
27 | RCSID("$OpenBSD: kexgex.c,v 1.7 2001/06/23 02:34:29 markus Exp $"); | 27 | RCSID("$OpenBSD: kexgex.c,v 1.8 2001/06/23 15:12:19 itojun Exp $"); |
28 | 28 | ||
29 | #include <openssl/bn.h> | 29 | #include <openssl/bn.h> |
30 | 30 | ||
@@ -39,7 +39,7 @@ RCSID("$OpenBSD: kexgex.c,v 1.7 2001/06/23 02:34:29 markus Exp $"); | |||
39 | #include "ssh2.h" | 39 | #include "ssh2.h" |
40 | #include "compat.h" | 40 | #include "compat.h" |
41 | 41 | ||
42 | u_char * | 42 | static u_char * |
43 | kexgex_hash( | 43 | kexgex_hash( |
44 | char *client_version_string, | 44 | char *client_version_string, |
45 | char *server_version_string, | 45 | char *server_version_string, |
@@ -99,7 +99,7 @@ kexgex_hash( | |||
99 | 99 | ||
100 | /* client */ | 100 | /* client */ |
101 | 101 | ||
102 | void | 102 | static void |
103 | kexgex_client(Kex *kex) | 103 | kexgex_client(Kex *kex) |
104 | { | 104 | { |
105 | BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; | 105 | BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; |
@@ -253,7 +253,7 @@ kexgex_client(Kex *kex) | |||
253 | 253 | ||
254 | /* server */ | 254 | /* server */ |
255 | 255 | ||
256 | void | 256 | static void |
257 | kexgex_server(Kex *kex) | 257 | kexgex_server(Kex *kex) |
258 | { | 258 | { |
259 | BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; | 259 | BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; |