]> git.pld-linux.org Git - packages/ppp.git/blob - ppp-openssl.patch
- release 3
[packages/ppp.git] / ppp-openssl.patch
1 --- ppp-2.4.3/pppd/sha1.h.orig  2004-10-25 01:27:49.000000000 +0200
2 +++ ppp-2.4.3/pppd/sha1.h       2005-01-08 23:29:27.503494240 +0100
3 @@ -2,12 +2,11 @@
4  
5  /* If OpenSSL is in use, then use that version of SHA-1 */
6  #ifdef OPENSSL
7 -#include <t_sha.h>
8 +#include <openssl/sha.h>
9 +#define SHA1_CTX SHA_CTX
10  #define __SHA1_INCLUDE_
11  #endif
12  
13 -#ifndef __SHA1_INCLUDE_
14 -
15  #ifndef SHA1_SIGNATURE_SIZE
16  #ifdef SHA_DIGESTSIZE
17  #define SHA1_SIGNATURE_SIZE SHA_DIGESTSIZE
18 @@ -16,6 +14,8 @@
19  #endif
20  #endif
21  
22 +#ifndef __SHA1_INCLUDE_
23 +
24  typedef struct {
25      u_int32_t state[5];
26      u_int32_t count[2];
This page took 0.075424 seconds and 3 git commands to generate.