Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37560997
en ru br
ALT Linux repos
S:2.5.0-alt1
5.0: 2.4.4-alt11
4.1: 2.4.4-alt10.M41.1
4.0: 2.4.4-alt10
+updates:2.4.4-alt10
3.0: 2.4.2-alt6
+updates:2.4.2-alt6.M30.1

Group :: Networking/Other
RPM: ppp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ppp-2.4.3-alt-openssl.patch
Download


--- ppp-2.4.3/pppd/sha1.h.orig	2004-10-25 01:27:49.000000000 +0200
+++ ppp-2.4.3/pppd/sha1.h	2005-01-08 23:29:27.503494240 +0100
@@ -2,12 +2,11 @@
 
 /* If OpenSSL is in use, then use that version of SHA-1 */
 #ifdef OPENSSL
-#include <t_sha.h>
+#include <openssl/sha.h>
+#define SHA1_CTX SHA_CTX
 #define __SHA1_INCLUDE_
 #endif
 
-#ifndef __SHA1_INCLUDE_
-
 #ifndef SHA1_SIGNATURE_SIZE
 #ifdef SHA_DIGESTSIZE
 #define SHA1_SIGNATURE_SIZE SHA_DIGESTSIZE
@@ -16,6 +14,8 @@
 #endif
 #endif
 
+#ifndef __SHA1_INCLUDE_
+
 typedef struct {
     u_int32_t state[5];
     u_int32_t count[2];
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin