summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2022-01-12 09:04:40 +0000
committertb <>2022-01-12 09:04:40 +0000
commit72287d6d67237aefee1abd80d8a69244763d8f2e (patch)
treea0afde3a5e6b0b142a9452dd28108eb2622f20fb
parenta9c9dc57789a8445d0103491f394b37aa5f68df5 (diff)
downloadopenbsd-72287d6d67237aefee1abd80d8a69244763d8f2e.tar.gz
openbsd-72287d6d67237aefee1abd80d8a69244763d8f2e.tar.bz2
openbsd-72287d6d67237aefee1abd80d8a69244763d8f2e.zip
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.
-rw-r--r--src/regress/lib/libcrypto/symbols/symbols.awk7
1 files changed, 6 insertions, 1 deletions
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 @@
1# $OpenBSD: symbols.awk,v 1.5 2021/12/14 20:37:24 tb Exp $ 1# $OpenBSD: symbols.awk,v 1.6 2022/01/12 09:04:40 tb Exp $
2 2
3# Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org> 3# Copyright (c) 2018,2020 Theo Buehler <tb@openbsd.org>
4# 4#
@@ -53,6 +53,11 @@ BEGIN {
53 printf("extern int ASN1_time_tm_clamp_notafter(struct tm *);\n") 53 printf("extern int ASN1_time_tm_clamp_notafter(struct tm *);\n")
54} 54}
55 55
56/^OBJ_bsearch_$/ {
57 printf("const void *OBJ_bsearch_(const void *key, const void *base, int num,\n")
58 printf(" int size, int (*cmp)(const void *, const void *));\n")
59}
60
56# These are machdep (at least cpuid_setup and ia32cap_P are internal on amd64). 61# These are machdep (at least cpuid_setup and ia32cap_P are internal on amd64).
57/^OPENSSL_cpuid_setup$/ || 62/^OPENSSL_cpuid_setup$/ ||
58/^OPENSSL_cpu_caps$/ || 63/^OPENSSL_cpu_caps$/ ||