aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_cryptodev.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-03-01 03:01:27 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-03-01 03:01:27 +0000
commitff2fdbf2f84ce3ccd93e245c577c4ed7f6341cb1 (patch)
treeacad821f7f9ad0448688643e0803b26b7a1aa553 /crypto/engine/eng_cryptodev.c
parentda3955256dd99f4fdad765110b4eaf274b8b2f8f (diff)
downloadopenssl-ff2fdbf2f84ce3ccd93e245c577c4ed7f6341cb1.tar.gz
oops, reinstate correct prototype
Diffstat (limited to 'crypto/engine/eng_cryptodev.c')
-rw-r--r--crypto/engine/eng_cryptodev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/engine/eng_cryptodev.c b/crypto/engine/eng_cryptodev.c
index bc4b689230..e81d2b8544 100644
--- a/crypto/engine/eng_cryptodev.c
+++ b/crypto/engine/eng_cryptodev.c
@@ -130,7 +130,7 @@ static int cryptodev_mod_exp_dh(const DH *dh, BIGNUM *r, const BIGNUM *a,
static int cryptodev_dh_compute_key(unsigned char *key,
const BIGNUM *pub_key, DH *dh);
static int cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p,
- void (*f)());
+ void (*f)(void));
void ENGINE_load_cryptodev(void);
static const ENGINE_CMD_DEFN cryptodev_defns[] = {
@@ -1294,7 +1294,7 @@ static DH_METHOD cryptodev_dh = {
* but I expect we'll want some options soon.
*/
static int
-cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)())
+cryptodev_ctrl(ENGINE *e, int cmd, long i, void *p, void (*f)(void))
{
#ifdef HAVE_SYSLOG_R
struct syslog_data sd = SYSLOG_DATA_INIT;