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: parsing SSL output from OpenSSL output #1256

Merged
merged 2 commits into from Nov 28, 2020
Merged

fix: parsing SSL output from OpenSSL output #1256

merged 2 commits into from Nov 28, 2020

Conversation

ghost
Copy link

@ghost ghost commented Nov 27, 2020

The separator (/) for the values of the output in LibreSSL (OpenSSL in MacOS/OpenBSD) is different from the separator , in OpenSSL in Linux.

appium-xcuitest-driver is expecting to run on macOS so the regex which parses the output from LibreSSL (OpenSSL in MacOS/OpenBSD) doesn't work when using OpenSSL.

This patch adds the fallback to parse the OpenSSL output in case it fails to parse the LibreSSL output.

@ghost ghost changed the title Parse SSL output from OpenSSL Fix: Parsing SSL output from OpenSSL output Nov 27, 2020
@ghost ghost changed the title Fix: Parsing SSL output from OpenSSL output fix: parsing SSL output from OpenSSL output Nov 27, 2020
@ghost ghost marked this pull request as ready for review November 27, 2020 11:02
@ghost
Copy link
Author

ghost commented Nov 27, 2020

@mykola-mokhnach I've removed the redundant imports.

Please merge.

@mykola-mokhnach
Copy link
Contributor

Unfortunately I cannot merge without the license signed :(

@ghost
Copy link
Author

ghost commented Nov 28, 2020

@mykola-mokhnach done

@mykola-mokhnach mykola-mokhnach merged commit 49fb7ed into appium:master Nov 28, 2020
github-actions bot pushed a commit that referenced this pull request Nov 28, 2020
## [3.32.2](v3.32.1...v3.32.2) (2020-11-28)

### Bug Fixes

* parsing output from OpenSSL ([#1256](#1256)) ([49fb7ed](49fb7ed))
@github-actions
Copy link
Contributor

🎉 This PR is included in version 3.32.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

triager pushed a commit that referenced this pull request Nov 30, 2020
@dpgraham dpgraham mentioned this pull request Nov 30, 2020
khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
khanayan123 pushed a commit to khanayan123/appium-xcuitest-driver that referenced this pull request May 10, 2021
## [3.32.2](appium/appium-xcuitest-driver@v3.32.1...v3.32.2) (2020-11-28)

### Bug Fixes

* parsing output from OpenSSL ([appium#1256](appium#1256)) ([49fb7ed](appium@49fb7ed))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant