[hipl-dev] [Branch ~hipl-core/hipl/ecc] Rev 5266: Remove pointless cast of void pointer.

  • From: noreply@xxxxxxxxxxxxx
  • To: HIPL core team <hipl-dev@xxxxxxxxxxxxx>
  • Date: Thu, 06 Jan 2011 16:03:30 -0000

------------------------------------------------------------
revno: 5266
committer: Henrik Ziegeldorf <henrik.ziegeldorf@xxxxxxxxxxxxxx>
branch nick: ecc
timestamp: Thu 2011-01-06 16:59:11 +0100
message:
  Remove pointless cast of void pointer.
modified:
  lib/core/builder.c


--
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/builder.c'
--- lib/core/builder.c  2010-12-15 10:23:25 +0000
+++ lib/core/builder.c  2011-01-06 15:59:11 +0000
@@ -3896,9 +3896,9 @@
     char hostname[HIP_HOST_ID_HOSTNAME_LEN_MAX];
     struct hip_host_id_priv *host_id = NULL;
     struct hip_host_id *host_id_pub = NULL;
-    RSA *rsa_key = (RSA *) any_key;
-    DSA *dsa_key = (DSA *) any_key;
-    EC_KEY *ecdsa_key = (EC_KEY *) any_key;
+    RSA *rsa_key        = any_key;
+    DSA *dsa_key        = any_key;
+    EC_KEY *ecdsa_key   = any_key;
 
     memset(hostname, 0, HIP_HOST_ID_HOSTNAME_LEN_MAX);
     HIP_IFEL(gethostname(hostname, HIP_HOST_ID_HOSTNAME_LEN_MAX - 1), -1,

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/ecc] Rev 5266: Remove pointless cast of void pointer. - noreply