auth2-none.c (146998) | auth2-none.c (162852) |
---|---|
1/* $OpenBSD: auth2-none.c,v 1.13 2006/08/05 07:52:52 dtucker 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-none.c,v 1.7 2004/05/11 19:01:43 deraadt Exp $"); | |
27 | 27 |
28#include "auth.h" | 28#include <sys/types.h> 29#include <sys/stat.h> 30#include <sys/uio.h> 31 32#include <fcntl.h> 33#include <stdarg.h> 34#include <unistd.h> 35 |
29#include "xmalloc.h" | 36#include "xmalloc.h" |
37#include "key.h" 38#include "hostfile.h" 39#include "auth.h" |
|
30#include "packet.h" 31#include "log.h" | 40#include "packet.h" 41#include "log.h" |
42#include "buffer.h" |
|
32#include "servconf.h" 33#include "atomicio.h" 34#include "compat.h" 35#include "ssh2.h" | 43#include "servconf.h" 44#include "atomicio.h" 45#include "compat.h" 46#include "ssh2.h" |
47#ifdef GSSAPI 48#include "ssh-gss.h" 49#endif |
|
36#include "monitor_wrap.h" 37 38/* import */ 39extern ServerOptions options; 40 41/* "none" is allowed only one time */ 42static int none_enabled = 1; 43 --- 83 unchanged lines hidden --- | 50#include "monitor_wrap.h" 51 52/* import */ 53extern ServerOptions options; 54 55/* "none" is allowed only one time */ 56static int none_enabled = 1; 57 --- 83 unchanged lines hidden --- |