summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/stack/stack.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/stack/stack.c b/src/lib/libcrypto/stack/stack.c
index 3736dba648..c10f4260f0 100644
--- a/src/lib/libcrypto/stack/stack.c
+++ b/src/lib/libcrypto/stack/stack.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: stack.c,v 1.31 2025/01/03 08:00:43 tb Exp $ */ 1/* $OpenBSD: stack.c,v 1.32 2025/01/03 08:03:28 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -204,9 +204,6 @@ obj_bsearch_ex(const void *key, const void *base_, int num, int size,
204 const char *base = base_; 204 const char *base = base_;
205 int l, h, i = 0, c = 0; 205 int l, h, i = 0, c = 0;
206 206
207 if (num == 0)
208 return NULL;
209
210 l = 0; 207 l = 0;
211 h = num; 208 h = num;
212 while (l < h) { 209 while (l < h) {