chap_ms.c (31962) | chap_ms.c (32663) |
---|---|
1/* 2 * chap_ms.c - Microsoft MS-CHAP compatible implementation. 3 * 4 * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited. 5 * http://www.strataware.com/ 6 * 7 * All rights reserved. 8 * --- 5 unchanged lines hidden (view full) --- 14 * by Eric Rosenquist. The name of the author may not be used to 15 * endorse or promote products derived from this software without 16 * specific prior written permission. 17 * 18 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 19 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 20 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 * | 1/* 2 * chap_ms.c - Microsoft MS-CHAP compatible implementation. 3 * 4 * Copyright (c) 1995 Eric Rosenquist, Strata Software Limited. 5 * http://www.strataware.com/ 6 * 7 * All rights reserved. 8 * --- 5 unchanged lines hidden (view full) --- 14 * by Eric Rosenquist. The name of the author may not be used to 15 * endorse or promote products derived from this software without 16 * specific prior written permission. 17 * 18 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 19 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 20 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 21 * |
22 * $Id: chap_ms.c,v 1.3 1997/11/22 03:37:26 brian Exp $ | 22 * $Id: chap_ms.c,v 1.4 1997/12/24 09:28:53 brian Exp $ |
23 * 24 */ 25 26#include <sys/types.h> 27 28#include <des.h> 29#include <stdio.h> 30#include <string.h> 31#include <sys/time.h> | 23 * 24 */ 25 26#include <sys/types.h> 27 28#include <des.h> 29#include <stdio.h> 30#include <string.h> 31#include <sys/time.h> |
32#include <syslog.h> | |
33 34#include "command.h" 35#include "mbuf.h" | 32 33#include "command.h" 34#include "mbuf.h" |
36#include "timer.h" 37#include "chap.h" | |
38#include "chap_ms.h" 39 40/* unused, for documentation only */ 41/* only NTResp is filled in for FreeBSD */ 42typedef struct { 43 u_char LANManResp[24]; 44 u_char NTResp[24]; 45 u_char UseNT; /* If 1, ignore the LANMan response field */ --- 70 unchanged lines hidden --- | 35#include "chap_ms.h" 36 37/* unused, for documentation only */ 38/* only NTResp is filled in for FreeBSD */ 39typedef struct { 40 u_char LANManResp[24]; 41 u_char NTResp[24]; 42 u_char UseNT; /* If 1, ignore the LANMan response field */ --- 70 unchanged lines hidden --- |