summaryrefslogtreecommitdiffstats
path: root/crypto/rand
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-05-09 17:09:50 +0200
committerKurt Roeckx <kurt@roeckx.be>2018-05-11 14:37:48 +0200
commit3cb7c5cfef25463bd197b0c12ca7966f525ebf73 (patch)
treee48a48cfd6aa0a3492cf6aec22de0e70f7284577 /crypto/rand
parentd4a8ba77a4004b40890c4a9700ba959fd26af170 (diff)
Use void in all function definitions that do not take any arguments
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6208
Diffstat (limited to 'crypto/rand')
-rw-r--r--crypto/rand/drbg_lib.c2
-rw-r--r--crypto/rand/rand_lib.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/drbg_lib.c b/crypto/rand/drbg_lib.c
index 60ddd2fe20..729b49c943 100644
--- a/crypto/rand/drbg_lib.c
+++ b/crypto/rand/drbg_lib.c
@@ -921,7 +921,7 @@ void rand_drbg_cleanup_int(void)
}
}
-void drbg_delete_thread_state()
+void drbg_delete_thread_state(void)
{
RAND_DRBG *drbg;
diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 050c9d23cc..1a9a7d2ce0 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -303,7 +303,7 @@ void rand_drbg_cleanup_additional_data(unsigned char *out, size_t outlen)
OPENSSL_secure_clear_free(out, outlen);
}
-void rand_fork()
+void rand_fork(void)
{
rand_fork_count++;
}