| 1/* $OpenBSD: auth-rh-rsa.c,v 1.42 2006/08/03 03:34:41 deraadt Exp $ */
|
1/* 2 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * All rights reserved 5 * Rhosts or /etc/hosts.equiv authentication combined with RSA host 6 * authentication. 7 * 8 * As far as I am concerned, the code I have written for this software 9 * can be used freely for any purpose. Any derived versions of this 10 * software must be clearly marked as such, and if the derived work is 11 * incompatible with the protocol description in the RFC file, it must be 12 * called by a name other than "ssh" or "Secure Shell". 13 */ 14 15#include "includes.h"
| 2/* 3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 5 * All rights reserved 6 * Rhosts or /etc/hosts.equiv authentication combined with RSA host 7 * authentication. 8 * 9 * As far as I am concerned, the code I have written for this software 10 * can be used freely for any purpose. Any derived versions of this 11 * software must be clearly marked as such, and if the derived work is 12 * incompatible with the protocol description in the RFC file, it must be 13 * called by a name other than "ssh" or "Secure Shell". 14 */ 15 16#include "includes.h"
|
16RCSID("$OpenBSD: auth-rh-rsa.c,v 1.38 2005/07/17 07:17:54 djm Exp $");
| |
17
| 17
|
| 18#include <sys/types.h> 19 20#include <pwd.h> 21#include <stdarg.h> 22
|
18#include "packet.h" 19#include "uidswap.h" 20#include "log.h"
| 23#include "packet.h" 24#include "uidswap.h" 25#include "log.h"
|
| 26#include "buffer.h"
|
21#include "servconf.h" 22#include "key.h" 23#include "hostfile.h" 24#include "pathnames.h" 25#include "auth.h" 26#include "canohost.h"
| 27#include "servconf.h" 28#include "key.h" 29#include "hostfile.h" 30#include "pathnames.h" 31#include "auth.h" 32#include "canohost.h"
|
27
| 33#ifdef GSSAPI 34#include "ssh-gss.h" 35#endif
|
28#include "monitor_wrap.h" 29 30/* import */ 31extern ServerOptions options; 32 33int 34auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, 35 Key *client_host_key)
--- 57 unchanged lines hidden --- | 36#include "monitor_wrap.h" 37 38/* import */ 39extern ServerOptions options; 40 41int 42auth_rhosts_rsa_key_allowed(struct passwd *pw, char *cuser, char *chost, 43 Key *client_host_key)
--- 57 unchanged lines hidden --- |