[Openswan Users] KLIPS crashes on kernel 2.6.25>
David McCullough
David_Mccullough at securecomputing.com
Tue Nov 3 17:18:49 EST 2009
Jivin Paul Wouters lays it down ...
> On Tue, 3 Nov 2009, Giovani Moda wrote:
>
> >> To make sure, I'll also test Ubuntu 8.0.3 (kernel 2.6.24) and Fedora 7
> > (kernel 2.6.23) with cryptoapi.
> >
> > Paul, I'm trying to compile klips with criptoapi on CentOS 5.3
> > (kernel-2.6.18) and I'm getting this error:
> >
> > CC [M]
> > /usr/src/openswan/openswan-2.6.24rc1/modobj26/ipsec_alg_cryptoapi.o
> > /usr/src/openswan/openswan-2.6.24rc1/modobj26/ipsec_alg_cryptoapi.c:39:5
> > : warning: "CONFIG_KLIPS_MODULE" is not defined
>
> That's fairly harmless.
>
> > /usr/src/openswan/openswan-2.6.24rc1/modobj26/ipsec_alg_cryptoapi.c: In
> > function '_capi_cbc_encrypt':
> > /usr/src/openswan/openswan-2.6.24rc1/modobj26/ipsec_alg_cryptoapi.c:386:
> > error: implicit declaration of function 'sg_set_page'
>
> This seems a kernel api change. I'll have to look into the details of that.
> I'm currently travelling, so this might take a few days. If I forget, please
> send me a reminder at the end of the week.
Try the attached patch,
Cheers,
Davidm
--
David McCullough, david_mccullough at securecomputing.com, Ph:+61 734352815
McAfee - SnapGear http://www.snapgear.com http://www.uCdot.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: crypto-api.patch
Type: text/x-diff
Size: 852 bytes
Desc: not available
Url : http://lists.openswan.org/pipermail/users/attachments/20091104/0414af76/attachment.bin
More information about the Users
mailing list