diff options
author | tb <> | 2020-10-16 20:38:28 +0000 |
---|---|---|
committer | tb <> | 2020-10-16 20:38:28 +0000 |
commit | e18ce3cc8370c89ce17e02e2d236ce238bd6c446 (patch) | |
tree | f085b97b8db0ad145f40bfb83acb6659604973c2 /src | |
parent | 9956f974abc14600dcab12fb333f98932cd50fd2 (diff) | |
download | openbsd-e18ce3cc8370c89ce17e02e2d236ce238bd6c446.tar.gz openbsd-e18ce3cc8370c89ce17e02e2d236ce238bd6c446.tar.bz2 openbsd-e18ce3cc8370c89ce17e02e2d236ce238bd6c446.zip |
make this test compile and pass on sparc64
Two functions missed (void) in their declaration which made gcc whine
"warning: function declaration isn't a prototype".
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libssl/ciphers/cipherstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/ciphers/cipherstest.c b/src/regress/lib/libssl/ciphers/cipherstest.c index c79b6a3c31..4d0260e2aa 100644 --- a/src/regress/lib/libssl/ciphers/cipherstest.c +++ b/src/regress/lib/libssl/ciphers/cipherstest.c | |||
@@ -238,7 +238,7 @@ struct parse_ciphersuites_test parse_ciphersuites_tests[] = { | |||
238 | (sizeof(parse_ciphersuites_tests) / sizeof(*parse_ciphersuites_tests)) | 238 | (sizeof(parse_ciphersuites_tests) / sizeof(*parse_ciphersuites_tests)) |
239 | 239 | ||
240 | static int | 240 | static int |
241 | parse_ciphersuites_test() | 241 | parse_ciphersuites_test(void) |
242 | { | 242 | { |
243 | struct parse_ciphersuites_test *pct; | 243 | struct parse_ciphersuites_test *pct; |
244 | STACK_OF(SSL_CIPHER) *ciphers = NULL; | 244 | STACK_OF(SSL_CIPHER) *ciphers = NULL; |
@@ -426,7 +426,7 @@ struct cipher_set_test cipher_set_tests[] = { | |||
426 | (sizeof(cipher_set_tests) / sizeof(*cipher_set_tests)) | 426 | (sizeof(cipher_set_tests) / sizeof(*cipher_set_tests)) |
427 | 427 | ||
428 | static int | 428 | static int |
429 | cipher_set_test() | 429 | cipher_set_test(void) |
430 | { | 430 | { |
431 | struct cipher_set_test *cst; | 431 | struct cipher_set_test *cst; |
432 | STACK_OF(SSL_CIPHER) *ciphers = NULL; | 432 | STACK_OF(SSL_CIPHER) *ciphers = NULL; |