From d0b64fd35a751a9304cb39bfc275ec1121c14fd7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 11:20:36 +0000 Subject: Remove sk_find_ex() This API intends to find the closest match to the needle. M2Crypto exposes it because it can. This will be fixed by patching the port. ok jsing --- src/lib/libcrypto/stack/stack.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/lib/libcrypto/stack/stack.c') diff --git a/src/lib/libcrypto/stack/stack.c b/src/lib/libcrypto/stack/stack.c index 99bb52dcfa..60a302afc2 100644 --- a/src/lib/libcrypto/stack/stack.c +++ b/src/lib/libcrypto/stack/stack.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stack.c,v 1.27 2024/03/02 11:11:11 tb Exp $ */ +/* $OpenBSD: stack.c,v 1.28 2024/03/02 11:20:36 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -265,13 +265,6 @@ sk_find(_STACK *st, void *data) } LCRYPTO_ALIAS(sk_find); -int -sk_find_ex(_STACK *st, void *data) -{ - return internal_find(st, data, OBJ_BSEARCH_VALUE_ON_NOMATCH); -} -LCRYPTO_ALIAS(sk_find_ex); - int sk_push(_STACK *st, void *data) { -- cgit v1.2.3-55-g6feb