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

Build to all OpenSSL versions #75

Merged
merged 1 commit into from
Oct 18, 2022
Merged

Build to all OpenSSL versions #75

merged 1 commit into from
Oct 18, 2022

Conversation

baentsch
Copy link
Member

Fixes #72

Also documents upstream limitations by version.

openssl_version=$($OPENSSL_APP version)

if [[ "$openssl_version" = "OpenSSL 3.0."* ]]; then
echo "Skipping CMS test for OpenSSL 3.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit rusty on bash but is this actually how you do string matching in bash? Won't the * try to do file name globbing?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't the * try to do file name globbing?

AFAIK not when using double brackets. Besides, it worked :-) Here's an independent opinion from StackOverflow: https://stackoverflow.com/questions/229551/how-to-check-if-a-string-contains-a-substring-in-bash . After having read that, though, I noticed the single "=" -- now fixed.

@baentsch baentsch merged commit b0fd3a6 into main Oct 18, 2022
@baentsch baentsch deleted the mb-alwaysbuild branch October 18, 2022 10:18
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.

Ensure provider builds against all OpenSSL provider APIs
2 participants