updated on Mon Jan 16 12:07:49 UTC 2012
[aur-mirror.git] / ppp-alt / ppp-2.4.2-fix64.patch
blob5c2d804def067efcda393bcdb295aea609361016
1 --- ppp-2.4.2/pppd/sha1.c.fix64 2002-04-02 15:54:59.000000000 +0200
2 +++ ppp-2.4.2/pppd/sha1.c 2004-06-17 17:22:00.698817462 +0200
3 @@ -18,6 +18,7 @@
5 #include <string.h>
6 #include <netinet/in.h> /* htonl() */
7 +#include <sys/types.h> /* u_int32_t */
8 #include "sha1.h"
10 static void
11 @@ -44,10 +45,10 @@
12 static void
13 SHA1_Transform(unsigned long state[5], const unsigned char buffer[64])
15 - unsigned long a, b, c, d, e;
16 + u_int32_t a, b, c, d, e;
17 typedef union {
18 unsigned char c[64];
19 - unsigned long l[16];
20 + u_int32_t l[16];
21 } CHAR64LONG16;
22 CHAR64LONG16 *block;