-
Notifications
You must be signed in to change notification settings - Fork 19
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
Please support compiling with OpenSSL 1.1 #16
Comments
Thanks for the message and the patch! Do the regtests really all pass for you with this patch? I'm running into this issue which seems to require non-trivially changing the way that we call |
Apparently the package build runs the tests, but ignores their results. Argh, sorry. I was unaware of the issue you linked, and was relying on test suites, which has gone terribly poorly. https://sources.debian.net/src/boxbackup/0.11.1~r2837-4/debian/rules/#L34 |
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>. (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)
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)
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) (cherry picked from commit 85e7efc)
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) (cherry picked from commit 85e7efc)
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) (cherry picked from commit 85e7efc)
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) (cherry picked from commit 85e7efc) (cherry picked from commit 9840962)
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) (cherry picked from commit 85e7efc)
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) (cherry picked from commit 85e7efc) (cherry picked from commit 9840962)
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) (cherry picked from commit 85e7efc) (cherry picked from commit 9840962)
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) (cherry picked from commit 85e7efc)
Stretch uses libssl 1.1 by default. Box currently doesn't compile with 1.1 (GitHub issue boxbackup/boxbackup#16). libssl 1.0 is available as a separate package - replacing libssl-dev, so this creates two AMIs, one for each libssl version. As part of this we need to use separate usernames for Buildbot. Packer allows specifying a name value to each builder, so we use that builder name as the Buildbot name. This requires passing the PACKER_BUILD_NAME environment variable around.
OpenSSL 1.1 has been out for a while, and is becoming the default on Linux distributions.
It looks like everything works if one uses
EVP_CIPHER_CTX *ctx
as a pointer, and callsnew
/free
instead ofinit
/cleanup
. I didn't test it extensively, beyond letting the test suite run.The patch against Debian's old version looks like: https://gist.github.com/FauxFaux/8675680985c40d187eff2cf06e8dce70
The text was updated successfully, but these errors were encountered: