From ef8f2a3fe6e2c5ed025ef7496fffcd52e968ba95 Mon Sep 17 00:00:00 2001 From: tb Date: Sat, 3 Aug 2024 07:45:26 +0000 Subject: [PATCH] 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 --- lib/libcrypto/crypto_ex_data.c | 4 ++-- 1 file 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 * @@ -19,7 +19,7 @@ #include -#define CRYPTO_EX_DATA_MAX_INDEX 16 +#define CRYPTO_EX_DATA_MAX_INDEX 32 struct crypto_ex_data { int class_index; -- 2.20.1