summaryrefslogtreecommitdiff
path: root/hostfile.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 /hostfile.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 'hostfile.c')
-rw-r--r--hostfile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hostfile.c b/hostfile.c
index d532bd6ad..39a1a8313 100644
--- a/hostfile.c
+++ b/hostfile.c
@@ -36,7 +36,7 @@
36 */ 36 */
37 37
38#include "includes.h" 38#include "includes.h"
39RCSID("$OpenBSD: hostfile.c,v 1.26 2001/04/12 19:15:24 markus Exp $"); 39RCSID("$OpenBSD: hostfile.c,v 1.27 2001/06/23 15:12:18 itojun Exp $");
40 40
41#include "packet.h" 41#include "packet.h"
42#include "match.h" 42#include "match.h"
@@ -49,7 +49,7 @@ RCSID("$OpenBSD: hostfile.c,v 1.26 2001/04/12 19:15:24 markus Exp $");
49 * pointer over the key. Skips any whitespace at the beginning and at end. 49 * pointer over the key. Skips any whitespace at the beginning and at end.
50 */ 50 */
51 51
52int 52static int
53hostfile_read_key(char **cpp, u_int *bitsp, Key *ret) 53hostfile_read_key(char **cpp, u_int *bitsp, Key *ret)
54{ 54{
55 char *cp; 55 char *cp;
@@ -82,7 +82,7 @@ auth_rsa_read_key(char **cpp, u_int *bitsp, BIGNUM * e, BIGNUM * n)
82 return ret; 82 return ret;
83} 83}
84 84
85int 85static int
86hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum) 86hostfile_check_key(int bits, Key *key, const char *host, const char *filename, int linenum)
87{ 87{
88 if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL) 88 if (key == NULL || key->type != KEY_RSA1 || key->rsa == NULL)