Skip to content
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

common/userpref: remove X509V3_EXT_cleanup() #1561

Closed
wants to merge 1 commit into from

Conversation

orbea
Copy link
Contributor

@orbea orbea commented Apr 23, 2024

When building libimobiledevice with libressl 3.9 it fails with an implicit declaration for X509V3_EXT_cleanup().

This was removed in libressl "because it was part of a dangerous, incomplete and mostly useless API".

Additionally it doesn't seem to be actually used by libimobiledevice:

"It cleans up the stack containing custom extensions which libimobiledevice doesn't use, it's only needed after calls to X509V3_EXT_add{,_list,_alias}()."

Reference: libressl/portable#1050

When building libimobiledevice with libressl 3.9 it fails with an
implicit declaration for X509V3_EXT_cleanup().

This was removed in libressl "because it was part of a dangerous,
incomplete and mostly useless API".

Additionally it doesn't seem to be actually used by libimobiledevice:

"It cleans up the stack containing custom extensions which
libimobiledevice doesn't use, it's only needed after calls to
X509V3_EXT_add{,_list,_alias}()."

Reference: libressl/portable#1050
Signed-off-by: orbea <orbea@riseup.net>
@nikias
Copy link
Member

nikias commented Apr 26, 2024

Merged with 80d5f46.

@nikias nikias closed this Apr 26, 2024
@orbea orbea deleted the libressl_cleanup branch April 27, 2024 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants