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

Guard NPN functions in case they are unavailable #4760

Closed
wants to merge 1 commit into from
Closed

Conversation

neheb
Copy link
Contributor

@neheb neheb commented Feb 22, 2019

NPN in OpenSSL can be compile-time disabled. In that case, this patch
fixes compilation.

NPN in OpenSSL can be compile-time disabled. In that case, this patch
fixes compilation.
@alex
Copy link
Member

alex commented Feb 22, 2019

@reaperhulk can we just drop NPN entirely? I don't think anything should be using it at this point?

@reaperhulk
Copy link
Member

@alex we'd need to deprecate and remove it from pyopenssl first (hey we should do that)

@alex
Copy link
Member

alex commented Feb 22, 2019

Well, if we just set the disabled flag, it'll auto-disable in pyOpenSSL. But yes, we should properly deprecate it, I'll send a PR.

@alex
Copy link
Member

alex commented Feb 22, 2019

pyca/pyopenssl#820

@reaperhulk
Copy link
Member

Okay, since we're deprecating on the pyOpenSSL side and it already handles the case where the symbols aren't present let's just go ahead and alter this PR to remove the bindings entirely.

@reaperhulk
Copy link
Member

#4765 replaces this

@reaperhulk reaperhulk closed this Feb 25, 2019
@neheb neheb deleted the n branch February 25, 2019 03:23
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 1, 2020
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.

3 participants