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

GH-315 Use 64 bit constants with OpenSSL 3.0.0 and later. #344

Merged
merged 3 commits into from
Dec 29, 2021

Conversation

h-vn
Copy link
Contributor

@h-vn h-vn commented Dec 23, 2021

This is a partial solution to GH-315. 64 bit constants are used with OpenSSL
3.0.0 and later when perl supports 64 bit integers.

Otherwise constants, SSL_CTX_get_options() and its related functions continue
to use double as the flag type.

OpenSSL 3.0.0-alpha17 switched from long to uint64_t with
SSL_CTX_get_options() family of functions.

Copy link
Collaborator

@chrisnovakovic chrisnovakovic left a comment

Choose a reason for hiding this comment

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

Nice! Is it worth mentioning this in Changes?

SSLeay.xs Outdated Show resolved Hide resolved
This is a partial solution to GH-315. 64 bit constants are used with OpenSSL
3.0.0 and later when perl supports 64 bit integers.

Otherwise constants, SSL_CTX_get_options() and its related functions continue
to use double as the flag type.

OpenSSL 3.0.0-alpha17 switched from long to uint64_t with
SSL_CTX_get_options() family of functions.
@h-vn h-vn force-pushed the GH-315-support-64bit-constants branch from c097b35 to 4d564e8 Compare December 29, 2021 13:35
@h-vn h-vn merged commit e68666b into master Dec 29, 2021
@h-vn h-vn deleted the GH-315-support-64bit-constants branch January 18, 2022 11:09
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.

2 participants