Enable additional CRYPTO_get_ex_new_index() tests.
authorjsing <jsing@openbsd.org>
Wed, 2 Oct 2024 14:12:21 +0000 (14:12 +0000)
committerjsing <jsing@openbsd.org>
Wed, 2 Oct 2024 14:12:21 +0000 (14:12 +0000)
commiteff6c37d8c4461f70ca2041c37e60ec6f0e0bbd4
tree38996f526a14b0f508b2f72482df051cbcc414f2
parent69f10b8ad3e2cd417c7a567d64217c86e2699f4d
Enable additional CRYPTO_get_ex_new_index() tests.

It was previously possible to call CRYPTO_get_ex_new_index() with either
a negative index or a positive index that equaled or exceeded
CRYPTO_EX_INDEX__COUNT. The reimplementation of exdata treats these as
error cases.
regress/lib/libcrypto/exdata/exdata_test.c