patch-pppd_chap_ms_h 1.1 KB

123456789101112131415161718192021222324
  1. --- ppp-2.4.5.orig/pppd/chap_ms.h 2009-11-16 23:26:07.000000000 +0100
  2. +++ ppp-2.4.5/pppd/chap_ms.h 2014-03-17 16:13:14.000000000 +0100
  3. @@ -87,16 +87,16 @@ extern void set_mppe_enc_types(int, int)
  4. #define MS_CHAP2_AUTHENTICATEE 0
  5. #define MS_CHAP2_AUTHENTICATOR 1
  6. -void ChapMS __P((u_char *, char *, int, u_char *));
  7. -void ChapMS2 __P((u_char *, u_char *, char *, char *, int,
  8. - u_char *, u_char[MS_AUTH_RESPONSE_LENGTH+1], int));
  9. +void ChapMS (u_char *, char *, int, u_char *);
  10. +void ChapMS2 (u_char *, u_char *, char *, char *, int,
  11. + u_char *, u_char[MS_AUTH_RESPONSE_LENGTH+1], int);
  12. #ifdef MPPE
  13. -void mppe_set_keys __P((u_char *, u_char[MD4_SIGNATURE_SIZE]));
  14. +void mppe_set_keys (u_char *, u_char[MD4_SIGNATURE_SIZE]);
  15. void mppe_set_keys2(u_char PasswordHashHash[MD4_SIGNATURE_SIZE],
  16. u_char NTResponse[24], int IsServer);
  17. #endif
  18. -void ChallengeHash __P((u_char[16], u_char *, char *, u_char[8]));
  19. +void ChallengeHash (u_char[16], u_char *, char *, u_char[8]);
  20. void GenerateAuthenticatorResponse(u_char PasswordHashHash[MD4_SIGNATURE_SIZE],
  21. u_char NTResponse[24], u_char PeerChallenge[16],