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

openssl: remove CONST_ASN1_BIT_STRING. #1759

Closed
wants to merge 1 commit into from

Conversation

davidben
Copy link
Contributor

Just making the pointer as const works for the pre-1.1.0 path too.

Just making the pointer as const works for the pre-1.1.0 path too.
@mention-bot
Copy link

@davidben, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bagder, @dmitrykos and @yangtse to be potential reviewers.

@bagder bagder added the TLS label Aug 10, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 75.09% when pulling e023ebf on davidben:const-asn1-bit-string into f87e77b on curl:master.

@jay jay requested a review from bagder August 11, 2017 02:05
@jay
Copy link
Member

jay commented Aug 11, 2017

In 1.0.2 X509_get0_signature takes non-const ASN1_BIT_STRING but the block in which it is called really only works for OpenSSL 1.1.0.

@davidben
Copy link
Contributor Author

Right, but that's already the case due to &palg being always const. That block only runs for 1.1.0 anyway because of the HAVE_X509_GET0_EXTENSIONS check.

@bagder
Copy link
Member

bagder commented Aug 11, 2017

I'm all for this as it also removes complexity.

@bagder bagder closed this in f26f6d2 Aug 11, 2017
@bagder
Copy link
Member

bagder commented Aug 11, 2017

Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators May 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

None yet

5 participants