aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ex_data.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-10-29 04:57:05 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-10-29 04:57:05 +0000
commit8dc344ccbf41c427634a5f8a0f17ee62eb121551 (patch)
tree62329734336f08a654fa1b6d99b6d4e99d8947e8 /crypto/ex_data.c
parent6bcd3f903a5c163ae8994533d90e8571347ed30a (diff)
downloadopenssl-8dc344ccbf41c427634a5f8a0f17ee62eb121551.tar.gz
Relax some over-zealous constification that gave some lhash-based code no
choice but to have to cast away "const" qualifiers from their prototypes. This does not remove constification restrictions from hash/compare callbacks, but allows destructor commands to be run over a tables' elements without bad casts.
Diffstat (limited to 'crypto/ex_data.c')
-rw-r--r--crypto/ex_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ex_data.c b/crypto/ex_data.c
index 5b2e345c27..f68cf84525 100644
--- a/crypto/ex_data.c
+++ b/crypto/ex_data.c
@@ -287,7 +287,7 @@ static void def_cleanup_util_cb(CRYPTO_EX_DATA_FUNCS *funcs)
/* This callback is used in lh_doall to destroy all EX_CLASS_ITEM values from
* "ex_data" prior to the ex_data hash table being itself destroyed. Doesn't do
* any locking. */
-static void def_cleanup_cb(const void *a_void)
+static void def_cleanup_cb(void *a_void)
{
EX_CLASS_ITEM *item = (EX_CLASS_ITEM *)a_void;
sk_CRYPTO_EX_DATA_FUNCS_pop_free(item->meth, def_cleanup_util_cb);