Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37909041
en ru br
ALT Linux repos
5.0: 0.7.1-alt1
4.1: 0.6.7-alt2.M41
4.0: 0.6.7-alt2.M40
3.0: 0.5-alt1

Group :: Security/Networking
RPM: ipsec-tools

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: ipsec-tools-0.5-64bit.patch
Download


--- ipsec-tools-0.6.1/src/racoon/ipsec_doi.c.64bit	2005-07-12 13:50:15.000000000 +0200
+++ ipsec-tools-0.6.1/src/racoon/ipsec_doi.c	2005-10-12 12:21:43.000000000 +0200
@@ -2695,7 +2695,7 @@
 		attrlen += sizeof(struct isakmp_data)
 			+ sizeof(struct isakmp_data);
 		if (sa->lifetime > 0xffff)
-			attrlen += sizeof(lifetime);
+                        attrlen += sizeof(u_int32_t);
 		if (buf) {
 			p = isakmp_set_attr_l(p, OAKLEY_ATTR_SA_LD_TYPE,
 						OAKLEY_ATTR_SA_LD_TYPE_SEC);
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin