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

Backport "Merge PR #6474: BUILD: Use correct type for num locks" to 1.5.x #6475

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

Krzmbrzl
Copy link
Member

Backport

This will backport the following commits from master to 1.5.x:

Questions ?

Please refer to the Backport tool documentation

The CRYPTO_num_locks function of OpenSSL returns an int, but we assigned
the value to an unsigned int, leading to a compiler warning about a
potential sign change.
This is no issue on newer systems as apparently OpenSSL has removed
these functions at some point and replaced them with a macro that
evaluates to a numeric constant (1). However, on older systems such as
CentOS 7, this function still seems to exist and there it actually
matters that we are using a wrong type.

Fixes #6467

(cherry picked from commit c65ebf1)
@Krzmbrzl Krzmbrzl self-assigned this Jun 23, 2024
@Krzmbrzl Krzmbrzl merged commit aa01c56 into 1.5.x Jun 23, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant