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

Remove duplicate binding definitions #1976

Merged
merged 1 commit into from
Jun 22, 2023
Merged

Remove duplicate binding definitions #1976

merged 1 commit into from
Jun 22, 2023

Conversation

sfackler
Copy link
Owner

@sfackler sfackler commented Jun 22, 2023

These are also defined in src/evp.rs

Closes #1975

@bvanjoi
Copy link

bvanjoi commented Jun 22, 2023

Hi, would it be possible for you to release a new version to help us continue with this bug fix PR?

@@ -413,22 +413,6 @@ cfg_if! {
pub fn EVP_PKEY_get_bits(key: *const EVP_PKEY) -> c_int;
pub fn EVP_PKEY_get_security_bits(key: *const EVP_PKEY) -> c_int;
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be removed from here, or from the openssl-sys/src/evp.rs location?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here - they're transcriptions of macros from the OpenSSL headers, so they always need to be defined, even when using bindgen.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gotcha. LGTM then.

@sfackler sfackler merged commit ee44daf into master Jun 22, 2023
@sfackler sfackler deleted the sfackler-patch-1 branch June 22, 2023 17:51
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.

A name resolution problem about EVP_PKEY_id
3 participants