Fix CRYPTO_get_ex_new_index() to return 1 or higher
authortb <tb@openbsd.org>
Fri, 16 Jun 2023 11:20:01 +0000 (11:20 +0000)
committertb <tb@openbsd.org>
Fri, 16 Jun 2023 11:20:01 +0000 (11:20 +0000)
commit59fb1717a4b0feaec928a4ffed7f8dc55f048766
tree3e4ab9d67eecbbc1117d79663d0f709aeb8e32a1
parent7068cea40265a3df44466fe47d91673c910c77d9
Fix CRYPTO_get_ex_new_index() to return 1 or higher

Mixing SSL_{get,set}_ex_data() and and SSL_{get,set}_app_data() in the
same application causes problems since they both place their data at
the same spot.

From Marc Aldorasi

ok jsing
lib/libcrypto/ex_data.c