summaryrefslogtreecommitdiff
path: root/auth-rh-rsa.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
committerDamien Miller <djm@mindrot.org>2000-04-16 11:18:38 +1000
commit4af51306d9a51459a5bef922df1037f876ae51fe (patch)
tree09ecfc215fce82345a3259f8a0f384b9a67906f0 /auth-rh-rsa.c
parent5d1705ecf9bd3216dc99a84242bcdf2e7297d307 (diff)
- OpenBSD CVS updates.
[ssh.1 ssh.c] - ssh -2 [auth.c channels.c clientloop.c packet.c packet.h serverloop.c] [session.c sshconnect.c] - check payload for (illegal) extra data [ALL] - whitespace cleanup
Diffstat (limited to 'auth-rh-rsa.c')
-rw-r--r--auth-rh-rsa.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/auth-rh-rsa.c b/auth-rh-rsa.c
index d3d90246c..150132fb4 100644
--- a/auth-rh-rsa.c
+++ b/auth-rh-rsa.c
@@ -1,21 +1,21 @@
1/* 1/*
2 * 2 *
3 * auth-rh-rsa.c 3 * auth-rh-rsa.c
4 * 4 *
5 * Author: Tatu Ylonen <ylo@cs.hut.fi> 5 * Author: Tatu Ylonen <ylo@cs.hut.fi>
6 * 6 *
7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 7 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * All rights reserved 8 * All rights reserved
9 * 9 *
10 * Created: Sun May 7 03:08:06 1995 ylo 10 * Created: Sun May 7 03:08:06 1995 ylo
11 * 11 *
12 * Rhosts or /etc/hosts.equiv authentication combined with RSA host 12 * Rhosts or /etc/hosts.equiv authentication combined with RSA host
13 * authentication. 13 * authentication.
14 * 14 *
15 */ 15 */
16 16
17#include "includes.h" 17#include "includes.h"
18RCSID("$Id: auth-rh-rsa.c,v 1.9 2000/04/13 02:26:35 damien Exp $"); 18RCSID("$Id: auth-rh-rsa.c,v 1.10 2000/04/16 01:18:39 damien Exp $");
19 19
20#ifdef HAVE_OPENSSL 20#ifdef HAVE_OPENSSL
21#include <openssl/bn.h> 21#include <openssl/bn.h>
@@ -42,7 +42,7 @@ RCSID("$Id: auth-rh-rsa.c,v 1.9 2000/04/13 02:26:35 damien Exp $");
42 * its host key. Returns true if authentication succeeds. 42 * its host key. Returns true if authentication succeeds.
43 */ 43 */
44 44
45int 45int
46auth_rhosts_rsa(struct passwd *pw, const char *client_user, RSA *client_host_key) 46auth_rhosts_rsa(struct passwd *pw, const char *client_user, RSA *client_host_key)
47{ 47{
48 extern ServerOptions options; 48 extern ServerOptions options;