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

Gate BIO_new_socket in OPENSSL_NO_SOCK in handwritten bindings #2002

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

davidben
Copy link
Contributor

OpenSSL conditions the availability of this symbol on OPENSSL_NO_SOCK. Match that in the handwritten bindings.

This doesn't really matter as it's only in the handwritten bindings and not used by rust-openssl, but we may as well make it match OpenSSL.

@sfackler
Copy link
Owner

You'll also need to add it here so we can discover the #define properly: https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/expando.c

OpenSSL conditions the availability of this symbol on OPENSSL_NO_SOCK.
Match that in the handwritten bindings.

This doesn't really matter as it's only in the handwritten bindings and
not used by rust-openssl, but we may as well make it match OpenSSL.
@davidben
Copy link
Contributor Author

You'll also need to add it here so we can discover the #define properly: https://github.com/sfackler/rust-openssl/blob/master/openssl-sys/build/expando.c

done

@sfackler sfackler merged commit e1fd4da into sfackler:master Jul 25, 2023
52 of 53 checks passed
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.

3 participants