From: Richard Levitte Date: Thu, 28 Feb 2002 12:59:03 +0000 (+0000) Subject: Make sure aep_close_connection() is declared and has a prototype that's X-Git-Tag: OpenSSL_0_9_7-beta1~185 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1e11df0dc368c27472c5f203a0a9e45cd4ffac33;p=oweals%2Fopenssl.git Make sure aep_close_connection() is declared and has a prototype that's consistent with the rest of the AEP functions --- diff --git a/crypto/engine/hw_aep.c b/crypto/engine/hw_aep.c index cefd3f006a..f25013f787 100644 --- a/crypto/engine/hw_aep.c +++ b/crypto/engine/hw_aep.c @@ -92,6 +92,7 @@ static int aep_destroy(ENGINE *e); static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR hConnection); static AEP_RV aep_return_connection(AEP_CONNECTION_HNDL hConnection); +static AEP_RV aep_close_connection(AEP_CONNECTION_HNDL hConnection); static AEP_RV aep_close_all_connections(int use_engine_lock, int *in_use); /* BIGNUM stuff */ @@ -950,7 +951,7 @@ static AEP_RV aep_return_connection(AEP_CONNECTION_HNDL hConnection) return AEP_R_OK; } -static int aep_close_connection(unsigned int hConnection) +static AEP_RV aep_close_connection(AEP_CONNECTION_HNDL hConnection) { int count;