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
commit2b41f5780c5f133132d9403d020e195c9ad4919d (patch)
tree0911f70a320984be7ab98ba5a6e54901892253d4 /src
parentd7b328b513d2128dfbee9482c01b4e22de59f428 (diff)
downloadopenbsd-2b41f5780c5f133132d9403d020e195c9ad4919d.tar.gz
openbsd-2b41f5780c5f133132d9403d020e195c9ad4919d.tar.bz2
openbsd-2b41f5780c5f133132d9403d020e195c9ad4919d.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;