[hipl-commit] [trunk] Rev 4623: hipd: fix shadowing issue in the output code.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Sun, 30 May 2010 19:11:22 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 30/05/2010 at 19:11:22
Revision: 4623
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  hipd: fix shadowing issue in the output code.

Modified:
  M  hipd/output.c

=== modified file 'hipd/output.c'
--- hipd/output.c       2010-05-26 10:28:47 +0000
+++ hipd/output.c       2010-05-30 16:11:00 +0000
@@ -568,10 +568,11 @@
          * build_param_encrypted_aes has already taken care that there is
          * enough padding */
         if (transform_hip_suite == HIP_HIP_AES_SHA1) {
-            int remainder = host_id_in_enc_len % 16;
-            if (remainder) {
-                HIP_DEBUG("Remainder %d (for AES)\n", remainder);
-                host_id_in_enc_len += remainder;
+            /* remainder */
+            int rem = host_id_in_enc_len % 16;
+            if (rem) {
+                HIP_DEBUG("Remainder %d (for AES)\n", rem);
+                host_id_in_enc_len += rem;
             }
         }

Other related posts:

  • » [hipl-commit] [trunk] Rev 4623: hipd: fix shadowing issue in the output code. - Mircea Gherzan