summaryrefslogtreecommitdiff
path: root/crypto/engine/eng_cryptodev.c
diff options
context:
space:
mode:
authorsteve <steve>2010-03-01 03:01:27 +0000
committersteve <steve>2010-03-01 03:01:27 +0000
commit8656ec06515ba2ae505b4f8bb7340efd8ecad899 (patch)
tree41a3b39ab473aa8e43b5a5c0cb7b1e7001db37e1 /crypto/engine/eng_cryptodev.c
parent300c245f0d7eb94ff0cffb47f2ddf6050eb4234d (diff)
downloadopenssl-8656ec06515ba2ae505b4f8bb7340efd8ecad899.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 bc4b68923..e81d2b854 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;