Support for both OpenSSL 1.0.x and 1.1.x#19
Merged
gdanezis merged 8 commits intogdanezis:masterfrom May 26, 2019
Merged
Conversation
Co-authored-by: Bogdan Kulynych <hello@bogdankulynych.me> Co-authored-by: Wouter Lueks <wouter@telox.net>
Co-authored-by: Wouter Lueks <wouter@telox.net> Co-authored-by: Bogdan Kulynych <hello@bogdankulynych.me>
|
Knowing the work it took to update, this is an great contribution! congrats. About the outdated travis image: its also possible to build using docker images of more recent distros. |
The code automatically detects the correct homebrew installed OpenSSL version, preferring version 1.1.x to version 1.0. Updated the README to always advice people to install the 1.1 version.
|
Tweaked the code a bit to make version detection on MacOS more robust. It will now automatically pick openssl version 1.1 over version 1.0 if installed. |
|
Extra fix to include C source files for the binding so that bplib -- which hooks directly into them -- compiles against the new version of petlib. Sorry, one of the Travis builds failed because of an |
Owner
|
Merging the OpenSSL 1.1 compatibility. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #13
Core changes:
petlib/_cffi_srcdirectory that contains C headers and sources for OpenSSL 1.0 and 1.1 bindingspetlib/_compat.pypetlib/_cff_src/install_openssl_v1_1.shthat downloads and builds OpenSSL 1.1 on a Travis Ubuntu 14.04 machine. This will have to change once Travis moves to a more modern distro.Side changes:
from petlib import *(commit f87d763)autopep8formatting tool (commit 48a8d61)Feel free to rollback any of the side changes.
We did not increment the version.
Linter output for reference: