summaryrefslogtreecommitdiff
path: root/src/common/crypto.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-27 18:16:37 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-27 18:16:37 +0000
commitce5709184bef665a545bcbf207598ad0f991a67b (patch)
tree58bf49cd59a7d236e2146ef3a86327929ca637fb /src/common/crypto.c
parent6874c3990426ca4efd4e88796854f2bab60df54d (diff)
downloadtor-ce5709184bef665a545bcbf207598ad0f991a67b.tar.gz
tor-ce5709184bef665a545bcbf207598ad0f991a67b.zip
Pass with -Wstrict-prototypes
svn:r2614
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r--src/common/crypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index 0ab6d3d3c4..b4659078bc 100644
--- a/src/common/crypto.c
+++ b/src/common/crypto.c
@@ -1175,7 +1175,7 @@ static BIGNUM *dh_param_g = NULL;
/** Initialize dh_param_p and dh_param_g if they are not already
* set. */
-static void init_dh_param() {
+static void init_dh_param(void) {
BIGNUM *p, *g;
int r;
if (dh_param_p && dh_param_g)
@@ -1366,7 +1366,7 @@ void crypto_dh_free(crypto_dh_env_t *dh)
/** Seed OpenSSL's random number generator with DIGEST_LEN bytes from the
* operating system. Return 0 on suuccess, -1 on failure.
*/
-int crypto_seed_rng()
+int crypto_seed_rng(void)
{
#ifdef MS_WINDOWS
static int provider_set = 0;