[457] | 1 | /*
|
---|
| 2 | * chap-md5.h - New CHAP/MD5 implementation.
|
---|
| 3 | *
|
---|
| 4 | * Copyright (c) 2003 Paul Mackerras. All rights reserved.
|
---|
| 5 | *
|
---|
| 6 | * Redistribution and use in source and binary forms, with or without
|
---|
| 7 | * modification, are permitted provided that the following conditions
|
---|
| 8 | * are met:
|
---|
| 9 | *
|
---|
| 10 | * 1. Redistributions of source code must retain the above copyright
|
---|
| 11 | * notice, this list of conditions and the following disclaimer.
|
---|
| 12 | *
|
---|
| 13 | * 2. The name(s) of the authors of this software must not be used to
|
---|
| 14 | * endorse or promote products derived from this software without
|
---|
| 15 | * prior written permission.
|
---|
| 16 | *
|
---|
| 17 | * 3. Redistributions of any form whatsoever must retain the following
|
---|
| 18 | * acknowledgment:
|
---|
| 19 | * "This product includes software developed by Paul Mackerras
|
---|
| 20 | * <paulus@samba.org>".
|
---|
| 21 | *
|
---|
| 22 | * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO
|
---|
| 23 | * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
---|
| 24 | * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY
|
---|
| 25 | * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
---|
| 26 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
|
---|
| 27 | * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
|
---|
| 28 | * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
---|
| 29 | */
|
---|
| 30 |
|
---|
| 31 | #include "netif/ppp/ppp_opts.h"
|
---|
| 32 | #if PPP_SUPPORT && CHAP_SUPPORT /* don't build if not configured for use in lwipopts.h */
|
---|
| 33 |
|
---|
| 34 | extern const struct chap_digest_type md5_digest;
|
---|
| 35 |
|
---|
| 36 | #endif /* PPP_SUPPORT && CHAP_SUPPORT */
|
---|