From 348fad0a9df90c576a11c7beeef17fa70cae611f Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 09:47:16 +0000 Subject: Remove OBJ_bsearch_() The only reason this has still been part of the public API was that libssl used it for cipher lookup. This was fixed by replacing the lookup by proper bsearch() -- why OpenSSL felt the need to reinvent ANSI C API badly will forever remain a mystery. The stack code in libcrypto still uses a version of this. This should be rewritten. It will be a bit easier once sk_find_ex() is removed. ok jsing --- src/lib/libcrypto/hidden/openssl/objects.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/libcrypto/hidden') diff --git a/src/lib/libcrypto/hidden/openssl/objects.h b/src/lib/libcrypto/hidden/openssl/objects.h index 80c0644137..5b39cd8215 100644 --- a/src/lib/libcrypto/hidden/openssl/objects.h +++ b/src/lib/libcrypto/hidden/openssl/objects.h @@ -1,4 +1,4 @@ -/* $OpenBSD: objects.h,v 1.3 2024/03/02 09:41:02 tb Exp $ */ +/* $OpenBSD: objects.h,v 1.4 2024/03/02 09:47:16 tb Exp $ */ /* * Copyright (c) 2023 Bob Beck * @@ -38,7 +38,6 @@ LCRYPTO_USED(OBJ_txt2nid); LCRYPTO_USED(OBJ_ln2nid); LCRYPTO_USED(OBJ_sn2nid); LCRYPTO_USED(OBJ_cmp); -LCRYPTO_USED(OBJ_bsearch_); LCRYPTO_USED(OBJ_new_nid); LCRYPTO_USED(OBJ_add_object); LCRYPTO_USED(OBJ_create); -- cgit v1.2.3-55-g6feb