From: Richard Levitte Date: Thu, 28 Feb 2002 12:58:43 +0000 (+0000) Subject: Make sure aep_close_connection() is declared and has a prototype that's X-Git-Tag: OpenSSL_0_9_6d~20^2~118 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=7d68189d8a700fe16b1ac795a4f79fe2862d1e12 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;