From: tb Date: Wed, 12 Jan 2022 09:04:40 +0000 (+0000) Subject: Add a prototype for OBJ_bsearch_ so this test will keep working X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b533d5b7685ab8a7a6814742f961738aa1cdd63b;p=openbsd 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. --- diff --git a/regress/lib/libcrypto/symbols/symbols.awk b/regress/lib/libcrypto/symbols/symbols.awk index 0d3565a3e01..d7c534272c5 100644 --- a/regress/lib/libcrypto/symbols/symbols.awk +++ b/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 # @@ -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$/ ||