summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hidden/openssl/objects.h
diff options
context:
space:
mode:
authortb <>2024-03-02 09:47:16 +0000
committertb <>2024-03-02 09:47:16 +0000
commit721a0919125aaef71da76adcbdb7905843d039ab (patch)
treece2dec82c7515bd7d45b198100f4e3ec4290b89b /src/lib/libcrypto/hidden/openssl/objects.h
parent14903cc3bcc1a541d0da5e166360fc3f53162f87 (diff)
downloadopenbsd-721a0919125aaef71da76adcbdb7905843d039ab.tar.gz
openbsd-721a0919125aaef71da76adcbdb7905843d039ab.tar.bz2
openbsd-721a0919125aaef71da76adcbdb7905843d039ab.zip
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
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl/objects.h')
-rw-r--r--src/lib/libcrypto/hidden/openssl/objects.h3
1 files changed, 1 insertions, 2 deletions
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 @@
1/* $OpenBSD: objects.h,v 1.3 2024/03/02 09:41:02 tb Exp $ */ 1/* $OpenBSD: objects.h,v 1.4 2024/03/02 09:47:16 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4 * 4 *
@@ -38,7 +38,6 @@ LCRYPTO_USED(OBJ_txt2nid);
38LCRYPTO_USED(OBJ_ln2nid); 38LCRYPTO_USED(OBJ_ln2nid);
39LCRYPTO_USED(OBJ_sn2nid); 39LCRYPTO_USED(OBJ_sn2nid);
40LCRYPTO_USED(OBJ_cmp); 40LCRYPTO_USED(OBJ_cmp);
41LCRYPTO_USED(OBJ_bsearch_);
42LCRYPTO_USED(OBJ_new_nid); 41LCRYPTO_USED(OBJ_new_nid);
43LCRYPTO_USED(OBJ_add_object); 42LCRYPTO_USED(OBJ_add_object);
44LCRYPTO_USED(OBJ_create); 43LCRYPTO_USED(OBJ_create);