[hipl-dev] [Branch ~hipl-core/hipl/ecc] Rev 5344: Some more const correctness.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Mon, 10 Jan 2011 18:25:48 -0000

------------------------------------------------------------
revno: 5344
committer: Henrik Ziegeldorf <henrik.ziegeldorf@xxxxxxxxxxxxxx>
branch nick: ecc
timestamp: Mon 2011-01-10 19:21:57 +0100
message:
  Some more const correctness.
modified:
  lib/core/hostid.c
  lib/core/hostid.h


--
lp:~hipl-core/hipl/ecc
https://code.launchpad.net/~hipl-core/hipl/ecc

Your team HIPL core team is subscribed to branch lp:~hipl-core/hipl/ecc.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/ecc/+edit-subscription
=== modified file 'lib/core/hostid.c'
--- lib/core/hostid.c   2011-01-10 18:04:28 +0000
+++ lib/core/hostid.c   2011-01-10 18:21:57 +0000
@@ -274,7 +274,7 @@
  * @note see hip_dsa_host_id_to_hit for valid HIT types
  */
 int hip_private_ecdsa_host_id_to_hit(const struct hip_host_id_priv *host_id,
-                                     struct in6_addr *hit,
+                                     struct in6_addr *const hit,
                                      int hit_type)
 {
     int err = 0;

=== modified file 'lib/core/hostid.h'
--- lib/core/hostid.h   2011-01-10 18:20:46 +0000
+++ lib/core/hostid.h   2011-01-10 18:21:57 +0000
@@ -73,7 +73,7 @@
 int hip_host_id_to_hit(const struct hip_host_id *const host_id,
                        struct in6_addr *const hit, const int hit_type);
 int hip_private_ecdsa_host_id_to_hit(const struct hip_host_id_priv *host_id,
-                                     struct in6_addr *hit,
+                                     struct in6_addr *const hit,
                                      int hit_type);
 int hip_private_dsa_host_id_to_hit(const struct hip_host_id_priv *const 
host_id,
                                    struct in6_addr *const hit,

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/ecc] Rev 5344: Some more const correctness. - noreply