🔧 Properly handle openssl version > 1.0.X#365
Open
ryannowarm wants to merge 1 commit intoPelionIoT:masterfrom
Open
🔧 Properly handle openssl version > 1.0.X#365ryannowarm wants to merge 1 commit intoPelionIoT:masterfrom
ryannowarm wants to merge 1 commit intoPelionIoT:masterfrom
Conversation
Contributor
|
@ryannowarm Thanks for the fix. Can you please add a news file for the release notes, e.g. |
41d78a3 to
840f126
Compare
Handle the case when the major version is greater than 1 and the minor version is greater than 0. For example, my current host uses openssl 1.1.1.
840f126 to
ca0cd08
Compare
Author
|
I've pushed a more elegant fix as well as the news entry. |
madchutney
approved these changes
Sep 13, 2019
| patch = int(match.group(4)) | ||
|
|
||
| if major >= 1 and minor >= 0 and patch >= 2: | ||
| if (major, minor, patch) >= (1, 0, 2): |
Contributor
There was a problem hiding this comment.
Nice use of tuple comparison, hadn't though of doing that.
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.
Handle the case when the major version is greater than 1 and the minor
version is greater than 0. For example, my current host uses openssl
1.1.1.