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

Fix compatibility with OpenSSL 1.1 #22

Merged
merged 6 commits into from
Jan 2, 2018
Merged

Fix compatibility with OpenSSL 1.1 #22

merged 6 commits into from
Jan 2, 2018

Conversation

qris
Copy link
Contributor

@qris qris commented Jan 1, 2018

Add support for compiling with OpenSSL 1.1, add a preprocessor compatibility layer, replace deprecated function calls, and fix test failures.

Use OpenSSL 1.1.0g for Windows superbuild. Add workaround for incorrect library suffixes searched by FindOpenSSL https://gitlab.kitware.com/cmake/cmake/issues/17604.

Fixes #16. Thanks to Chris West (@FauxFaux) for the initial patch!

qris added 6 commits January 1, 2018 16:13
We don't need to install anything in C:\Program Files\BoxBackup, and often
don't have permission to do that anyway.

(cherry picked from commit 2d31a31)
(cherry picked from commit dab8ccc)
Should make debugging on Mac and BSD less painful.

Make t-gdb fail with an error when no debugger was detected.

(cherry picked from commit da98a81)
(cherry picked from commit ea6bc72)
(cherry picked from commit 38ba751)
(cherry picked from commit 02bfd7e)
Previously, it was impossible to include an @ sign in these flags (for example,
to link to support --with-ssl-headers=/usr/local/opt/openssl@1.1/include/)
because it was interpreted as a list variable name by Perl. Now the variables
are evaluated single-quoted before being substituted into the Makefile output.

(cherry picked from commit 2e9c90d)
RAND_pseudo_bytes is less secure and is now deprecated.

(cherry picked from commit f449986)
See #16 for details. Thanks to
Chris West @FauxFaux for the initial patch!

Use OpenSSL 1.1.0g for Windows superbuild.

Fix Windows build by removing calls to obsolete do_ms.bat
<https://stackoverflow.com/questions/39076244/why-there-is-no-ms-do-ms-bat-after-perl-configure-vc-win64a/39247560#39247560>.

Workaround for incorrect library suffixes searched by FindOpenSSL
<https://gitlab.kitware.com/cmake/cmake/issues/17604>.

Link OpenSSL statically and fix missing dependency on crypt32.lib.

(cherry picked from commit edd3687)
(cherry picked from commit b003e00)
(cherry picked from commit cc6e204)
(cherry picked from commit 303c640)
(cherry picked from commit 4e24006)
(cherry picked from commit 448ac48)
(cherry picked from commit 00b3bb0)
@qris qris merged commit 6d7e956 into master Jan 2, 2018
@qris qris deleted the openssl_1_1 branch March 26, 2020 20:13
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.

Please support compiling with OpenSSL 1.1
1 participant