Make sure aep_close_connection() is declared and has a prototype that's
authorRichard Levitte <levitte@openssl.org>
Thu, 28 Feb 2002 12:59:03 +0000 (12:59 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 28 Feb 2002 12:59:03 +0000 (12:59 +0000)
consistent with the rest of the AEP functions

crypto/engine/hw_aep.c

index cefd3f006a13a00c59ee6b8adc35a5b702b0ff11..f25013f787cfd3bde1d9f1f12288922b01e0dd3c 100644 (file)
@@ -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;