From 72287d6d67237aefee1abd80d8a69244763d8f2e Mon Sep 17 00:00:00 2001
From: tb <>
Date: Wed, 12 Jan 2022 09:04:40 +0000
Subject: Add a prototype for OBJ_bsearch_ so this test will keep working after
 the bump. Since this tests the public interfaces, we do not want to use
 LIBRESSL_INTERNAL/LIBRESSL_CRYPTO_INTERNAL here.

---
 src/regress/lib/libcrypto/symbols/symbols.awk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/regress/lib/libcrypto/symbols/symbols.awk b/src/regress/lib/libcrypto/symbols/symbols.awk
index 0d3565a3e0..d7c534272c 100644
--- a/src/regress/lib/libcrypto/symbols/symbols.awk
+++ b/src/regress/lib/libcrypto/symbols/symbols.awk
@@ -1,4 +1,4 @@
-# $OpenBSD: symbols.awk,v 1.5 2021/12/14 20:37:24 tb Exp $
+# $OpenBSD: symbols.awk,v 1.6 2022/01/12 09:04:40 tb Exp $
 
 # Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org>
 #
@@ -53,6 +53,11 @@ BEGIN {
 	printf("extern int ASN1_time_tm_clamp_notafter(struct tm *);\n")
 }
 
+/^OBJ_bsearch_$/ {
+	printf("const void *OBJ_bsearch_(const void *key, const void *base, int num,\n")
+	printf("    int size, int (*cmp)(const void *, const void *));\n")
+}
+
 # These are machdep (at least cpuid_setup and ia32cap_P are internal on amd64).
 /^OPENSSL_cpuid_setup$/						||
 /^OPENSSL_cpu_caps$/						||
-- 
cgit v1.2.3-55-g6feb