aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/store/str_mem.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-06-26 10:26:42 +0000
committerRichard Levitte <levitte@openssl.org>2003-06-26 10:26:42 +0000
commited5fae580e88ce5612be3152ba739a208c61fcdd (patch)
tree7f38609bfbbf140fd222f3408150c1f294aafd41 /crypto/store/str_mem.c
parentd55141ed7a844b4a0b8c75169267566695642840 (diff)
downloadopenssl-ed5fae580e88ce5612be3152ba739a208c61fcdd.tar.gz
Implement missing functions.
Have the f parameter to _ctrl functions have the prototype (*)(void) rather than (*)(), for the sake of C++ compilers. Disable unimplemented functionality.
Diffstat (limited to 'crypto/store/str_mem.c')
-rw-r--r--crypto/store/str_mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/store/str_mem.c b/crypto/store/str_mem.c
index 25d789a068..77603e1814 100644
--- a/crypto/store/str_mem.c
+++ b/crypto/store/str_mem.c
@@ -126,7 +126,7 @@ static int mem_lock(STORE *s, OPENSSL_ITEM attributes[],
OPENSSL_ITEM parameters[]);
static int mem_unlock(STORE *s, OPENSSL_ITEM attributes[],
OPENSSL_ITEM parameters[]);
-static int mem_ctrl(STORE *s, int cmd, long l, void *p, void (*f)());
+static int mem_ctrl(STORE *s, int cmd, long l, void *p, void (*f)(void));
static STORE_METHOD store_memory =
{
@@ -351,7 +351,7 @@ static int mem_unlock(STORE *s, OPENSSL_ITEM attributes[],
{
return 1;
}
-static int mem_ctrl(STORE *s, int cmd, long l, void *p, void (*f)())
+static int mem_ctrl(STORE *s, int cmd, long l, void *p, void (*f)(void))
{
return 1;
}