Conform with the standard prototype for engine control functions.
This commit is contained in:
parent
c687a3d5d5
commit
a99ce1a574
9 changed files with 17 additions and 17 deletions
|
@ -76,7 +76,7 @@
|
|||
static int ibm_4758_cca_destroy(ENGINE *e);
|
||||
static int ibm_4758_cca_init(ENGINE *e);
|
||||
static int ibm_4758_cca_finish(ENGINE *e);
|
||||
static int ibm_4758_cca_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int ibm_4758_cca_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
|
||||
/* rsa functions */
|
||||
/*---------------*/
|
||||
|
@ -343,7 +343,7 @@ static int ibm_4758_cca_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int ibm_4758_cca_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int ibm_4758_cca_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((dso == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
|
@ -88,7 +88,7 @@ typedef int pid_t;
|
|||
|
||||
static int aep_init(ENGINE *e);
|
||||
static int aep_finish(ENGINE *e);
|
||||
static int aep_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int aep_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
static int aep_destroy(ENGINE *e);
|
||||
|
||||
static AEP_RV aep_get_connection(AEP_CONNECTION_HNDL_PTR hConnection);
|
||||
|
@ -554,7 +554,7 @@ static int aep_finish(ENGINE *e)
|
|||
return to_return;
|
||||
}
|
||||
|
||||
static int aep_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int aep_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((aep_dso == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
static int atalla_destroy(ENGINE *e);
|
||||
static int atalla_init(ENGINE *e);
|
||||
static int atalla_finish(ENGINE *e);
|
||||
static int atalla_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int atalla_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
|
||||
/* BIGNUM stuff */
|
||||
static int atalla_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
||||
|
@ -406,7 +406,7 @@ static int atalla_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int atalla_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int atalla_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((atalla_dso == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
static int cswift_destroy(ENGINE *e);
|
||||
static int cswift_init(ENGINE *e);
|
||||
static int cswift_finish(ENGINE *e);
|
||||
static int cswift_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int cswift_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
|
||||
/* BIGNUM stuff */
|
||||
static int cswift_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
||||
|
@ -439,7 +439,7 @@ static int cswift_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int cswift_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int cswift_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((cswift_dso == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
static int e_gmp_destroy(ENGINE *e);
|
||||
static int e_gmp_init(ENGINE *e);
|
||||
static int e_gmp_finish(ENGINE *e);
|
||||
static int e_gmp_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int e_gmp_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
|
||||
#ifndef OPENSSL_NO_RSA
|
||||
/* RSA stuff */
|
||||
|
@ -230,7 +230,7 @@ static int e_gmp_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int e_gmp_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int e_gmp_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int to_return = 1;
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
static int hwcrhk_destroy(ENGINE *e);
|
||||
static int hwcrhk_init(ENGINE *e);
|
||||
static int hwcrhk_finish(ENGINE *e);
|
||||
static int hwcrhk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int hwcrhk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
|
||||
/* Functions to handle mutexes */
|
||||
static int hwcrhk_mutex_init(HWCryptoHook_Mutex*, HWCryptoHook_CallerContext*);
|
||||
|
@ -648,7 +648,7 @@ static int hwcrhk_finish(ENGINE *e)
|
|||
return to_return;
|
||||
}
|
||||
|
||||
static int hwcrhk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int hwcrhk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int to_return = 1;
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ static int nuron_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int nuron_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int nuron_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((pvDSOHandle == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
|
@ -69,7 +69,7 @@
|
|||
#define SUREWARE_LIB_NAME "sureware engine"
|
||||
#include "e_sureware_err.c"
|
||||
|
||||
static int surewarehk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int surewarehk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
static int surewarehk_destroy(ENGINE *e);
|
||||
static int surewarehk_init(ENGINE *e);
|
||||
static int surewarehk_finish(ENGINE *e);
|
||||
|
@ -368,7 +368,7 @@ static BIO *logstream = NULL;
|
|||
* called, the checking and error handling is probably down there.
|
||||
*/
|
||||
static int threadsafe=1;
|
||||
static int surewarehk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int surewarehk_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int to_return = 1;
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
static int ubsec_destroy(ENGINE *e);
|
||||
static int ubsec_init(ENGINE *e);
|
||||
static int ubsec_finish(ENGINE *e);
|
||||
static int ubsec_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)());
|
||||
static int ubsec_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void));
|
||||
static int ubsec_mod_exp(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
||||
const BIGNUM *m, BN_CTX *ctx);
|
||||
static int ubsec_mod_exp_crt(BIGNUM *r, const BIGNUM *a, const BIGNUM *p,
|
||||
|
@ -518,7 +518,7 @@ static int ubsec_finish(ENGINE *e)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static int ubsec_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
|
||||
static int ubsec_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
|
||||
{
|
||||
int initialised = ((ubsec_dso == NULL) ? 0 : 1);
|
||||
switch(cmd)
|
||||
|
|
Loading…
Reference in a new issue