summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranton <>2023-02-02 12:37:14 +0000
committeranton <>2023-02-02 12:37:14 +0000
commitc68d3edadf095fb8eaaf9a3000e39b27a909f557 (patch)
tree46ae756038f007193c5dd659bc4f529d07204c18
parentdc4b2cf3e0979364f14ff89a07ffafc47435e2e7 (diff)
downloadopenbsd-c68d3edadf095fb8eaaf9a3000e39b27a909f557.tar.gz
openbsd-c68d3edadf095fb8eaaf9a3000e39b27a909f557.tar.bz2
openbsd-c68d3edadf095fb8eaaf9a3000e39b27a909f557.zip
Sync function prototypes and declarations to satisfy clang 15.
ok jsing@
-rw-r--r--src/regress/lib/libssl/ssl/ssltest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libssl/ssl/ssltest.c b/src/regress/lib/libssl/ssl/ssltest.c
index c72551cf52..8aae99018c 100644
--- a/src/regress/lib/libssl/ssl/ssltest.c
+++ b/src/regress/lib/libssl/ssl/ssltest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssltest.c,v 1.36 2022/11/26 16:08:57 tb Exp $ */ 1/* $OpenBSD: ssltest.c,v 1.37 2023/02/02 12:37:14 anton Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -1855,7 +1855,7 @@ app_verify_callback(X509_STORE_CTX *ctx, void *arg)
1855 * (The second function has been renamed to avoid name conflicts.) 1855 * (The second function has been renamed to avoid name conflicts.)
1856 */ 1856 */
1857static DH * 1857static DH *
1858get_dh1024() 1858get_dh1024(void)
1859{ 1859{
1860 static unsigned char dh1024_p[] = { 1860 static unsigned char dh1024_p[] = {
1861 0xF8, 0x81, 0x89, 0x7D, 0x14, 0x24, 0xC5, 0xD1, 0xE6, 0xF7, 0xBF, 0x3A, 1861 0xF8, 0x81, 0x89, 0x7D, 0x14, 0x24, 0xC5, 0xD1, 0xE6, 0xF7, 0xBF, 0x3A,
@@ -1897,7 +1897,7 @@ get_dh1024()
1897} 1897}
1898 1898
1899static DH * 1899static DH *
1900get_dh1024dsa() 1900get_dh1024dsa(void)
1901{ 1901{
1902 static unsigned char dh1024_p[] = { 1902 static unsigned char dh1024_p[] = {
1903 0xC8, 0x00, 0xF7, 0x08, 0x07, 0x89, 0x4D, 0x90, 0x53, 0xF3, 0xD5, 0x00, 1903 0xC8, 0x00, 0xF7, 0x08, 0x07, 0x89, 0x4D, 0x90, 0x53, 0xF3, 0xD5, 0x00,