]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/chap-new.h
pppd: Fix spelling errors in man page
[ppp.git] / pppd / chap-new.h
index e6a534df80c0d0caf5e2a3f45cfec3dc3acc0b10..665e78fb19a99a26ab0b44ade689a1fb20787c71 100644 (file)
  * 1. Redistributions of source code must retain the above copyright
  *    notice, this list of conditions and the following disclaimer.
  *
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in
- *    the documentation and/or other materials provided with the
- *    distribution.
- *
- * 3. The name(s) of the authors of this software must not be used to
+ * 2. The name(s) of the authors of this software must not be used to
  *    endorse or promote products derived from this software without
  *    prior written permission.
  *
- * 4. Redistributions of any form whatsoever must retain the following
+ * 3. Redistributions of any form whatsoever must retain the following
  *    acknowledgment:
  *    "This product includes software developed by Paul Mackerras
  *     <paulus@samba.org>".
@@ -110,7 +105,7 @@ struct chap_digest_type {
        void (*make_response)(unsigned char *response, int id, char *our_name,
                unsigned char *challenge, char *secret, int secret_len,
                unsigned char *priv);
-       int (*check_success)(unsigned char *pkt, int len, unsigned char *priv);
+       int (*check_success)(int id, unsigned char *pkt, int len);
        void (*handle_failure)(unsigned char *pkt, int len);
 
        struct chap_digest_type *next;