[hipl-commit] [trunk] Rev 4715: lib: tool: fix build issues introduced in rev 4714.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Tue, 8 Jun 2010 20:17:54 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 08/06/2010 at 20:17:54
Revision: 4715
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  lib: tool: fix build issues introduced in rev 4714.
  The xfrm_algo_parse() invocations were still retaining the 
  extra (unused) parameter.

Modified:
  M  lib/tool/xfrmapi.c

=== modified file 'lib/tool/xfrmapi.c'
--- lib/tool/xfrmapi.c  2010-06-08 14:48:16 +0000
+++ lib/tool/xfrmapi.c  2010-06-08 17:06:33 +0000
@@ -367,7 +367,7 @@
 
         /* XFRMA_ALG_AUTH */
         memset(&alg, 0, sizeof(alg));
-        HIP_IFE(xfrm_algo_parse((void *) &alg, XFRMA_ALG_AUTH, a_name,
+        HIP_IFE(xfrm_algo_parse((void *) &alg, a_name,
                                 authkey->key, authkey_len,
                                 sizeof(alg.buf)), -1);
         len = sizeof(struct xfrm_algo) + alg.algo.alg_key_len;
@@ -377,7 +377,7 @@
 
         /* XFRMA_ALG_CRYPT */
         memset(&alg, 0, sizeof(alg));
-        HIP_IFE(xfrm_algo_parse((void *) &alg, XFRMA_ALG_CRYPT, e_name,
+        HIP_IFE(xfrm_algo_parse((void *) &alg, e_name,
                                 enckey->key, enckey_len,
                                 sizeof(alg.buf)), -1);

Other related posts:

  • » [hipl-commit] [trunk] Rev 4715: lib: tool: fix build issues introduced in rev 4714. - Mircea Gherzan