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 /kexdh.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 'kexdh.c')
-rw-r--r-- | kexdh.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: kexdh.c,v 1.5 2001/06/23 02:34:29 markus Exp $"); | 26 | RCSID("$OpenBSD: kexdh.c,v 1.6 2001/06/23 15:12:18 itojun Exp $"); |
27 | 27 | ||
28 | #include <openssl/crypto.h> | 28 | #include <openssl/crypto.h> |
29 | #include <openssl/bn.h> | 29 | #include <openssl/bn.h> |
@@ -38,7 +38,7 @@ RCSID("$OpenBSD: kexdh.c,v 1.5 2001/06/23 02:34:29 markus Exp $"); | |||
38 | #include "dh.h" | 38 | #include "dh.h" |
39 | #include "ssh2.h" | 39 | #include "ssh2.h" |
40 | 40 | ||
41 | u_char * | 41 | static u_char * |
42 | kex_dh_hash( | 42 | kex_dh_hash( |
43 | char *client_version_string, | 43 | char *client_version_string, |
44 | char *server_version_string, | 44 | char *server_version_string, |
@@ -88,7 +88,7 @@ kex_dh_hash( | |||
88 | 88 | ||
89 | /* client */ | 89 | /* client */ |
90 | 90 | ||
91 | void | 91 | static void |
92 | kexdh_client(Kex *kex) | 92 | kexdh_client(Kex *kex) |
93 | { | 93 | { |
94 | BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; | 94 | BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; |
@@ -193,7 +193,7 @@ kexdh_client(Kex *kex) | |||
193 | 193 | ||
194 | /* server */ | 194 | /* server */ |
195 | 195 | ||
196 | void | 196 | static void |
197 | kexdh_server(Kex *kex) | 197 | kexdh_server(Kex *kex) |
198 | { | 198 | { |
199 | BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; | 199 | BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; |