projects
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c687a3d
)
Conform with the standard prototype for engine control functions.
author
Richard Levitte
<levitte@openssl.org>
Thu, 26 Jun 2003 07:10:10 +0000
(07:10 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 26 Jun 2003 07:10:10 +0000
(07:10 +0000)
engines/e_4758_cca.c
patch
|
blob
|
history
engines/e_aep.c
patch
|
blob
|
history
engines/e_atalla.c
patch
|
blob
|
history
engines/e_cswift.c
patch
|
blob
|
history
engines/e_gmp.c
patch
|
blob
|
history
engines/e_ncipher.c
patch
|
blob
|
history
engines/e_nuron.c
patch
|
blob
|
history
engines/e_sureware.c
patch
|
blob
|
history
engines/e_ubsec.c
patch
|
blob
|
history
diff --git
a/engines/e_4758_cca.c
b/engines/e_4758_cca.c
index 68a628229d65b2a7a9c6f8ad3fad800ed68af51d..ee52a3f66f0fbfffb2e065d352e2882bf01db2c5 100644
(file)
--- a/
engines/e_4758_cca.c
+++ b/
engines/e_4758_cca.c
@@
-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_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 */
/*---------------*/
/* rsa functions */
/*---------------*/
@@
-343,7
+343,7
@@
static int ibm_4758_cca_finish(ENGINE *e)
return 1;
}
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)
{
int initialised = ((dso == NULL) ? 0 : 1);
switch(cmd)
diff --git
a/engines/e_aep.c
b/engines/e_aep.c
index 46ccac2823d1fa9cb8c10367674c25eccecfa211..8e10bb77604d148b2361617b2ecd08b552584c58 100644
(file)
--- a/
engines/e_aep.c
+++ b/
engines/e_aep.c
@@
-88,7
+88,7
@@
typedef int pid_t;
static int aep_init(ENGINE *e);
static int aep_finish(ENGINE *e);
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);
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;
}
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)
{
int initialised = ((aep_dso == NULL) ? 0 : 1);
switch(cmd)
diff --git
a/engines/e_atalla.c
b/engines/e_atalla.c
index 64dcc046e89f151f836313ab87ec6c19f50a4d03..79abc70678307cba17004b492c43303970ef7748 100644
(file)
--- a/
engines/e_atalla.c
+++ b/
engines/e_atalla.c
@@
-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_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,
/* 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;
}
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)
{
int initialised = ((atalla_dso == NULL) ? 0 : 1);
switch(cmd)
diff --git
a/engines/e_cswift.c
b/engines/e_cswift.c
index 28a51d1bfd5b57d484ff1ba74e62098d3bc9503d..793aaccb1106df15f0ec184389941de891626b56 100644
(file)
--- a/
engines/e_cswift.c
+++ b/
engines/e_cswift.c
@@
-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_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,
/* 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;
}
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)
{
int initialised = ((cswift_dso == NULL) ? 0 : 1);
switch(cmd)
diff --git
a/engines/e_gmp.c
b/engines/e_gmp.c
index 8d778fcbf73f4277f733e49df9c210287b1f0f32..64cb039ed8d295e8bb2c2e3f1b989634d38722c9 100644
(file)
--- a/
engines/e_gmp.c
+++ b/
engines/e_gmp.c
@@
-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_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 */
#ifndef OPENSSL_NO_RSA
/* RSA stuff */
@@
-230,7
+230,7
@@
static int e_gmp_finish(ENGINE *e)
return 1;
}
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;
{
int to_return = 1;
diff --git
a/engines/e_ncipher.c
b/engines/e_ncipher.c
index bf95ca8612e7324a45f0dea0a47c27e98fe6b0a7..e416cffedb134b8f9f30e8501c34ce19a18edc32 100644
(file)
--- a/
engines/e_ncipher.c
+++ b/
engines/e_ncipher.c
@@
-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_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*);
/* 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;
}
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;
{
int to_return = 1;
diff --git
a/engines/e_nuron.c
b/engines/e_nuron.c
index f9c3795033354e68ce4fcde21f5b942a01cdaef1..e3a9406c4976f3bf914b6eb4ec559bc202811206 100644
(file)
--- a/
engines/e_nuron.c
+++ b/
engines/e_nuron.c
@@
-156,7
+156,7
@@
static int nuron_finish(ENGINE *e)
return 1;
}
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)
{
int initialised = ((pvDSOHandle == NULL) ? 0 : 1);
switch(cmd)
diff --git
a/engines/e_sureware.c
b/engines/e_sureware.c
index cae8bf48565cb751edde54c9c3e78332b9449d3f..8e77e5c282fb05dbddbcb619200a84f505a6c34e 100644
(file)
--- a/
engines/e_sureware.c
+++ b/
engines/e_sureware.c
@@
-69,7
+69,7
@@
#define SUREWARE_LIB_NAME "sureware engine"
#include "e_sureware_err.c"
#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);
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;
* 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;
{
int to_return = 1;
diff --git
a/engines/e_ubsec.c
b/engines/e_ubsec.c
index b019714a566e55aebbe8d9287b2253a221ce1a92..094458887c6e73dbd0b964971662358d4af80066 100644
(file)
--- a/
engines/e_ubsec.c
+++ b/
engines/e_ubsec.c
@@
-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_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,
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;
}
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)
{
int initialised = ((ubsec_dso == NULL) ? 0 : 1);
switch(cmd)