-
Notifications
You must be signed in to change notification settings - Fork 35
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
support openssl v3; add const qualifier #100
Conversation
Maybe fix #91 |
Makefile.PL
Outdated
@@ -12,7 +12,7 @@ use File::Spec; | |||
|
|||
my %args; | |||
|
|||
if ($^O ne 'MSWin32' and my $prefix = `brew --prefix --installed openssl\@1.1 2>@{[File::Spec->devnull]}`) { | |||
if ($^O ne 'MSWin32' and my $prefix = `brew --prefix --installed openssl 2>@{[File::Spec->devnull]}`) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MacOS? No idea if this is okay.
maint/Makefile_header.PL
Outdated
@@ -3,7 +3,7 @@ use File::Spec; | |||
|
|||
my %args; | |||
|
|||
if ($^O ne 'MSWin32' and my $prefix = `brew --prefix --installed openssl\@1.1 2>@{[File::Spec->devnull]}`) { | |||
if ($^O ne 'MSWin32' and my $prefix = `brew --prefix --installed openssl 2>@{[File::Spec->devnull]}`) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, MacOS...not sure
@jonasbn I reviewed as above and it looks proper. This will be fine for any of the 3.0 versions (I think) but if you compile with DOPENSSL_NO_DEPRECATED_3_0_0 it will error on any of the things that were deprecated in 3.0.0 (and below I assume). So there is still some work to be done to get full 3.0 compatibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
This has been included in the release 1.9.14-TRIAL, just uploaded to PAUSE/CPAN. Please let me know if you experience any issues or have any feedback. The 1.9.14 release will be made in due time depending on the outcome/feedback of the trial release. Thanks for your contributions. |
Description
Currently
make
fails against openssl v3:In openssl v3, it seems that a lot of functions return
const XXX
types, not plainXXX
types; somake
fails.This PR adds
const
qualifier to some functions so thatmake
passes against openssl v3.Type of change
Please delete options that are not relevant.
Checklist:
Test / Development Platform Information