Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
>
> when using my RAS account with 2.6.11-rc3, I see a lot of
>
> ESP: sha1 digestsize 20 != 0
>
> messages in my logs and the IPsec tunnel is not working. I tracked the
> problem down to the change below. After reverting this patch, everything
> works like before.
Sorry, my fault.
The name test in xfrm_get_byname is inverted.
Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
===== net/xfrm/xfrm_algo.c 1.16 vs edited =====
--- 1.16/net/xfrm/xfrm_algo.c 2005-01-26 16:53:19 +11:00
+++ edited/net/xfrm/xfrm_algo.c 2005-02-04 07:38:16 +11:00
@@ -357,7 +357,7 @@
return NULL;
for (i = 0; i < entries; i++) {
- if (!strcmp(name, list[i].name))
+ if (strcmp(name, list[i].name))
continue;
if (list[i].available)
|