net: ipx: use seq_list_foo() helpers
[safe/jmp/linux-2.6] / net / ipv6 / esp6.c
index af597c7..668a46b 100644 (file)
@@ -473,7 +473,7 @@ static int esp_init_authenc(struct xfrm_state *x)
                }
 
                err = crypto_aead_setauthsize(
-                       aead, aalg_desc->uinfo.auth.icv_truncbits / 8);
+                       aead, x->aalg->alg_trunc_len / 8);
                if (err)
                        goto free_key;
        }