summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2024-08-03 07:45:26 +0000
committertb <>2024-08-03 07:45:26 +0000
commitc289c992cc6b851c0a1c18cad38ea1ec7f165d17 (patch)
tree0911f70a320984be7ab98ba5a6e54901892253d4 /src
parent175acd9d1e8225a3feb5633d03fb47052b4bf1b2 (diff)
downloadopenbsd-c289c992cc6b851c0a1c18cad38ea1ec7f165d17.tar.gz
openbsd-c289c992cc6b851c0a1c18cad38ea1ec7f165d17.tar.bz2
openbsd-c289c992cc6b851c0a1c18cad38ea1ec7f165d17.zip
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 'src')
-rw-r--r--src/lib/libcrypto/crypto_ex_data.c4
1 files 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 @@
1/* $OpenBSD: crypto_ex_data.c,v 1.3 2024/08/03 07:43:33 tb Exp $ */ 1/* $OpenBSD: crypto_ex_data.c,v 1.4 2024/08/03 07:45:26 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -19,7 +19,7 @@
19 19
20#include <openssl/crypto.h> 20#include <openssl/crypto.h>
21 21
22#define CRYPTO_EX_DATA_MAX_INDEX 16 22#define CRYPTO_EX_DATA_MAX_INDEX 32
23 23
24struct crypto_ex_data { 24struct crypto_ex_data {
25 int class_index; 25 int class_index;