diff options
author | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 04:57:05 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2003-10-29 04:57:05 +0000 |
commit | 8dc344ccbf41c427634a5f8a0f17ee62eb121551 (patch) | |
tree | 62329734336f08a654fa1b6d99b6d4e99d8947e8 /crypto/lhash/lhash.c | |
parent | 6bcd3f903a5c163ae8994533d90e8571347ed30a (diff) |
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/lhash/lhash.c')
-rw-r--r-- | crypto/lhash/lhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c index 0a16fcf27d..9856c26d43 100644 --- a/crypto/lhash/lhash.c +++ b/crypto/lhash/lhash.c @@ -176,7 +176,7 @@ void lh_free(LHASH *lh) OPENSSL_free(lh); } -void *lh_insert(LHASH *lh, const void *data) +void *lh_insert(LHASH *lh, void *data) { unsigned long hash; LHASH_NODE *nn,**rn; |