------------------------------------------------------------ revno: 5445 committer: Henrik Ziegeldorf <henrik.ziegeldorf@xxxxxxxxxxxxxx> branch nick: trunk_branch timestamp: Mon 2011-01-10 18:26:01 +0100 message: Remove pointless cast of void * to DSA *. modified: lib/tool/pk.c -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'lib/tool/pk.c' --- lib/tool/pk.c 2011-01-09 22:18:11 +0000 +++ lib/tool/pk.c 2011-01-10 17:26:01 +0000 @@ -87,7 +87,7 @@ */ int hip_dsa_sign(void *priv_key, struct hip_common *msg) { - DSA *dsa = (DSA *) priv_key; + DSA *dsa = priv_key; uint8_t sha1_digest[HIP_AH_SHA_LEN]; uint8_t signature[HIP_DSA_SIGNATURE_LEN]; int err = 0, len;