From: Geoff Thorpe Date: Mon, 8 Jan 2001 22:03:27 +0000 (+0000) Subject: Whilst in the process of fixing outstanding function-pointer casts in the X-Git-Tag: OpenSSL_0_9_6a-beta1~81^2~66 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=ad2e032049d8e9460372e273eddb192c300b46dc 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. --- 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;