-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regarding CRYPTO_free_ex_index
#916
Labels
Comments
Hi, the This function has never existed in LibreSSL, however LibreSSL may consider providing the API in a future release. |
Thanks for the report.
This is OpenSSL 1.1 API that was never part of our tree (we forked from
1.0.1g). As far as I can see, only two projects use it, wget2, and libp11.
It is too late for the stable 3.8 release to do anything about it since
we are about to lock the trees for the release.
So: for the moment, the bandaid applied by the wget2 developers is the
only option. There are some plans to overhaul the ex_data API and we can
then decide if and how to add this function. But that will be for 3.9.x
at the earliest.
|
On Sun, Oct 01, 2023 at 08:27:30AM -0700, Joshua Sing wrote:
Hi, the `CRYPTO_free_ex_index` function appears to have been added in OpenSSL 3.0.0 (specifically in openssl/openssl@e6390ac).
This commit is from late 2015. At that point 3.0 was not even planned :)
It's a bit tricky to determine when an API was added, especially since
the OpenSSL documentation leaves one or the other thing to be desired.
In the commit you linked you can see that it was part of the
OpenSSL_1_1_0-pre1 tag, which means that it will have been part of
OpenSSL 1.1.0. And indeed:
https://github.com/openssl/openssl/blob/OpenSSL_1_1_0-stable/crypto/ex_data.c#L321
|
Any updates to this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some software that provide LibreSSL compatibility support rely on this symbol
CRYPTO_free_ex_index
, was it dropped in later LibreSSL releases as I couldn't find any mention of it when using version3.8.1
?An example of this is
wget2
that provides LibreSSL compatibility but no longer builds successfully against LibreSSL due toUndefined reference to CRYPTO_free_ex_index
:https://gitlab.com/gnuwget/wget2/-/issues/644
Was it dropped on purpose?
The text was updated successfully, but these errors were encountered: