diff options
author | Geoff Thorpe <geoff@openssl.org> | 2001-01-08 22:03:27 +0000 |
---|---|---|
committer | Geoff Thorpe <geoff@openssl.org> | 2001-01-08 22:03:27 +0000 |
commit | ad2e032049d8e9460372e273eddb192c300b46dc (patch) | |
tree | dfb9bbe0cb5d49dd15469613d9044311fee7bece /crypto | |
parent | 601140b3636ca3766e2d93cd8c44ebe27554b606 (diff) | |
download | openssl-ad2e032049d8e9460372e273eddb192c300b46dc.tar.gz |
Whilst in the process of fixing outstanding function-pointer casts in the
LHASH code, this evil was uncovered. The cast was obscuring the fact that
the function was prototyped to take 2 parameters when in fact it is being
used as a callback that should take only one. Anyway, the function itself
ignores the second parameter (thankfully). A proper cure is on the way but
for now this corrects the inconsistency.
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/objects/o_names.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/objects/o_names.c b/crypto/objects/o_names.c index 2cc1a6794a..87ea624f2e 100644 --- a/crypto/objects/o_names.c +++ b/crypto/objects/o_names.c @@ -305,7 +305,7 @@ void OBJ_NAME_do_all_sorted(int type,void (*fn)(const OBJ_NAME *,void *arg), static int free_type; -static void names_lh_free(OBJ_NAME *onp, int type) +static void names_lh_free(OBJ_NAME *onp) { if(onp == NULL) return; |