From c289c992cc6b851c0a1c18cad38ea1ec7f165d17 Mon Sep 17 00:00:00 2001
From: tb <>
Date: Sat, 3 Aug 2024 07:45:26 +0000
Subject: Bump CRYPTO_EX_DATA_MAX_INDEX to 32

rust-openssl tests do something weird and need lots of ex data (one index
for each registered callback, for example). This makes the regress pass
again.

noticed by anton
ok jsing
---
 src/lib/libcrypto/crypto_ex_data.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/libcrypto/crypto_ex_data.c b/src/lib/libcrypto/crypto_ex_data.c
index 2c89f70fa9..ceb3a92e51 100644
--- a/src/lib/libcrypto/crypto_ex_data.c
+++ b/src/lib/libcrypto/crypto_ex_data.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto_ex_data.c,v 1.3 2024/08/03 07:43:33 tb Exp $ */
+/* $OpenBSD: crypto_ex_data.c,v 1.4 2024/08/03 07:45:26 tb Exp $ */
 /*
  * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
  *
@@ -19,7 +19,7 @@
 
 #include <openssl/crypto.h>
 
-#define CRYPTO_EX_DATA_MAX_INDEX 16
+#define CRYPTO_EX_DATA_MAX_INDEX 32
 
 struct crypto_ex_data {
 	int class_index;
-- 
cgit v1.2.3-55-g6feb