summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2024-08-03 07:45:27 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2024-08-03 07:45:27 +0000
commitf56c1f90f65021a5e5bb4205bbda50310314fa3c (patch)
tree8dcf5c517de06da522b92cd356ddc6a9b0e76f76 /lib
parent3fce3c2651c022d61efd33294cd3ed50b6f69838 (diff)
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
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/crypto_ex_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/crypto_ex_data.c b/lib/libcrypto/crypto_ex_data.c
index 2c89f70fa91..ceb3a92e510 100644
--- a/lib/libcrypto/crypto_ex_data.c
+++ b/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;