aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/lhash/lhash.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2000-11-07 23:43:21 +0000
committerRichard Levitte <levitte@openssl.org>2000-11-07 23:43:21 +0000
commitbb7e632aef4ca511feb9f3dae29cccbab984c057 (patch)
tree6caf9a07192117ddefd4f8296a92a368e521214e /crypto/lhash/lhash.c
parent55d892e37383af203603cc6b4b949b5b8c617423 (diff)
downloadopenssl-bb7e632aef4ca511feb9f3dae29cccbab984c057.tar.gz
Constification of LHASH. Contributed by "Paul D. Smith" <psmith@gnu.org>
I didn't apply all his patches yet, since I have some hesitance about unconstifying. To be pondered.
Diffstat (limited to 'crypto/lhash/lhash.c')
-rw-r--r--crypto/lhash/lhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lhash/lhash.c b/crypto/lhash/lhash.c
index 7da14620a4..cdcc3b6e4d 100644
--- a/crypto/lhash/lhash.c
+++ b/crypto/lhash/lhash.c
@@ -455,7 +455,7 @@ unsigned long lh_strhash(const char *c)
return((ret>>16)^ret);
}
-unsigned long lh_num_items(LHASH *lh)
+unsigned long lh_num_items(const LHASH *lh)
{
return lh ? lh->num_items : 0;
}