auth2-hostbased.c (126274) | auth2-hostbased.c (162852) |
---|---|
1/* $OpenBSD: auth2-hostbased.c,v 1.11 2006/08/03 03:34:41 deraadt Exp $ */ |
|
1/* 2 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 18 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 19 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 20 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 */ 24 25#include "includes.h" | 2/* 3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. --- 9 unchanged lines hidden (view full) --- 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 */ 25 26#include "includes.h" |
26RCSID("$OpenBSD: auth2-hostbased.c,v 1.6 2004/01/19 21:25:15 markus Exp $"); | |
27 | 27 |
28#include "ssh2.h" | 28#include <sys/types.h> 29 30#include <pwd.h> 31#include <string.h> 32#include <stdarg.h> 33 |
29#include "xmalloc.h" | 34#include "xmalloc.h" |
35#include "ssh2.h" |
|
30#include "packet.h" 31#include "buffer.h" 32#include "log.h" 33#include "servconf.h" 34#include "compat.h" | 36#include "packet.h" 37#include "buffer.h" 38#include "log.h" 39#include "servconf.h" 40#include "compat.h" |
35#include "bufaux.h" 36#include "auth.h" | |
37#include "key.h" | 41#include "key.h" |
42#include "hostfile.h" 43#include "auth.h" |
|
38#include "canohost.h" | 44#include "canohost.h" |
45#ifdef GSSAPI 46#include "ssh-gss.h" 47#endif |
|
39#include "monitor_wrap.h" 40#include "pathnames.h" 41 42/* import */ 43extern ServerOptions options; 44extern u_char *session_id2; 45extern u_int session_id2_len; 46 --- 136 unchanged lines hidden --- | 48#include "monitor_wrap.h" 49#include "pathnames.h" 50 51/* import */ 52extern ServerOptions options; 53extern u_char *session_id2; 54extern u_int session_id2_len; 55 --- 136 unchanged lines hidden --- |