aboutsummaryrefslogtreecommitdiffstats
path: root/test/ssltest_old.c
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 /test/ssltest_old.c
parentd4a8ba77a4004b40890c4a9700ba959fd26af170 (diff)
downloadopenssl-3cb7c5cfef25463bd197b0c12ca7966f525ebf73.tar.gz
Use void in all function definitions that do not take any arguments
Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6208
Diffstat (limited to 'test/ssltest_old.c')
-rw-r--r--test/ssltest_old.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/ssltest_old.c b/test/ssltest_old.c
index 34705c3472..e974f6c15d 100644
--- a/test/ssltest_old.c
+++ b/test/ssltest_old.c
@@ -423,7 +423,7 @@ static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type,
return 1;
}
-static int verify_serverinfo()
+static int verify_serverinfo(void)
{
if (serverinfo_sct != serverinfo_sct_seen)
return -1;
@@ -2836,7 +2836,7 @@ static int app_verify_callback(X509_STORE_CTX *ctx, void *arg)
* $ openssl dhparam -C -noout -dsaparam 1024
* (The third function has been renamed to avoid name conflicts.)
*/
-static DH *get_dh512()
+static DH *get_dh512(void)
{
static unsigned char dh512_p[] = {
0xCB, 0xC8, 0xE1, 0x86, 0xD0, 0x1F, 0x94, 0x17, 0xA6, 0x99, 0xF0,
@@ -2870,7 +2870,7 @@ static DH *get_dh512()
return dh;
}
-static DH *get_dh1024()
+static DH *get_dh1024(void)
{
static unsigned char dh1024_p[] = {
0xF8, 0x81, 0x89, 0x7D, 0x14, 0x24, 0xC5, 0xD1, 0xE6, 0xF7, 0xBF,
@@ -2914,7 +2914,7 @@ static DH *get_dh1024()
return dh;
}
-static DH *get_dh1024dsa()
+static DH *get_dh1024dsa(void)
{
static unsigned char dh1024_p[] = {
0xC8, 0x00, 0xF7, 0x08, 0x07, 0x89, 0x4D, 0x90, 0x53, 0xF3, 0xD5,