projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9daa46
)
Get the right cast for lhash callback functions.
author
Richard Levitte
<levitte@openssl.org>
Tue, 20 Feb 2001 14:00:29 +0000
(14:00 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Tue, 20 Feb 2001 14:00:29 +0000
(14:00 +0000)
crypto/objects/o_names.c
patch
|
blob
|
history
diff --git
a/crypto/objects/o_names.c
b/crypto/objects/o_names.c
index 03d65397b84ec63876eb32c59c055bfb87f2ea1f..f381b395d070fc6c87694ee96eedd706e26125d8 100644
(file)
--- a/
crypto/objects/o_names.c
+++ b/
crypto/objects/o_names.c
@@
-67,8
+67,8
@@
int OBJ_NAME_new_index(unsigned long (*hash_func)(const char *),
{
MemCheck_off();
name_funcs = OPENSSL_malloc(sizeof(NAME_FUNCS));
- name_funcs->hash_func = lh_strhash;
- name_funcs->cmp_func = strcmp;
+ name_funcs->hash_func =
(LHASH_HASH_FN_TYPE)
lh_strhash;
+ name_funcs->cmp_func =
(LHASH_COMP_FN_TYPE)
strcmp;
name_funcs->free_func = 0; /* NULL is often declared to
* ((void *)0), which according
* to Compaq C is not really