Properly hash pointers for hash tables where appropriate
authorTobias Brunner <tobias@strongswan.org>
Thu, 27 Mar 2014 10:37:16 +0000 (11:37 +0100)
committerTobias Brunner <tobias@strongswan.org>
Mon, 31 Mar 2014 12:32:44 +0000 (14:32 +0200)
commit3b09c02ec05a4dc1810717cb123c93cc753f7d8a
tree37535e6cdfc2da42e6b0b5f4f1cc13b1922a3e75
parent7522fcffd26b96031cc4efc88b1ceb1220459f4d
Properly hash pointers for hash tables where appropriate

Simply using the pointer is not optimal for our hash table
implementation, which simply masks the key to determine the bucket.
src/libcharon/plugins/dhcp/dhcp_provider.c
src/libcharon/plugins/eap_radius/eap_radius_forward.c
src/libcharon/plugins/ha/ha_cache.c
src/libstrongswan/credentials/cred_encoding.c