summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclaudio <>2019-05-09 05:47:27 +0000
committerclaudio <>2019-05-09 05:47:27 +0000
commit238baabe10e5f495789f5635ba14bc725ec85c31 (patch)
tree8142f6ef85590f8078aa87fc01c85c0ff3211272 /src
parent1b76c31b9c1e2634f8da466b12e601bf1776c25a (diff)
downloadopenbsd-238baabe10e5f495789f5635ba14bc725ec85c31.tar.gz
openbsd-238baabe10e5f495789f5635ba14bc725ec85c31.tar.bz2
openbsd-238baabe10e5f495789f5635ba14bc725ec85c31.zip
Proper prototype for main(). Make sparc64 happier.
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libssl/key_schedule/key_schedule.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/regress/lib/libssl/key_schedule/key_schedule.c b/src/regress/lib/libssl/key_schedule/key_schedule.c
index 21751aa0f2..2b03b9a4d9 100644
--- a/src/regress/lib/libssl/key_schedule/key_schedule.c
+++ b/src/regress/lib/libssl/key_schedule/key_schedule.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: key_schedule.c,v 1.6 2018/11/13 01:32:33 beck Exp $ */ 1/* $OpenBSD: key_schedule.c,v 1.7 2019/05/09 05:47:27 claudio Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -161,7 +161,9 @@ uint8_t expected_exporter_master[] = {
161 0xae, 0x31, 0x1b, 0x43, 0x09, 0xd3, 0xcf, 0x50 161 0xae, 0x31, 0x1b, 0x43, 0x09, 0xd3, 0xcf, 0x50
162}; 162};
163 163
164int main () { 164int
165main (int argc, char **argv)
166{
165 struct tls13_secrets *secrets; 167 struct tls13_secrets *secrets;
166 168
167 if ((secrets = tls13_secrets_create(EVP_sha256(), 0)) == NULL) 169 if ((secrets = tls13_secrets_create(EVP_sha256(), 0)) == NULL)