Skip to content

genserv.pl: fail with a message if openssl is missing or failing #16929

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

Closed
wants to merge 6 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Apr 2, 2025

Reported-by: Tomas Volf
Fixes #16926
Follow-up to 44341e7 #16824
Ref: #16928
Co-authored-by: Daniel Stenberg

@bagder
Copy link
Member

bagder commented Apr 2, 2025

Looks similar to #16928 😄

@vszakats
Copy link
Member Author

vszakats commented Apr 2, 2025

Yep :) I was a bit late, took your die command with the message, and added "1.0.2+" to it.
I think this one is a tiny bit more accurate and catches more fails.

@vszakats vszakats changed the title genserv.pl: fail with a message is openssl is missing or failing genserv.pl: fail with a message is openssl is missing or failing Apr 2, 2025
@vszakats vszakats changed the title genserv.pl: fail with a message is openssl is missing or failing genserv.pl: fail with a message if openssl is missing or failing Apr 2, 2025
vszakats added 2 commits April 3, 2025 01:05
It's not supposed to fail with any tool called `openssl` AFAIK.
(But I did not check all possible variants)

I meant this to catch BoringSSL which is NOT supporting this
command, but that's silly because BoringSSL's tool is called `bssl`,
so it won't be called at all in the first place.
jay added a commit to jay/curl that referenced this pull request Apr 3, 2025
- Use File::Spec->devnull() to get the null device path.

Prior to this change we used NUL for Windows and /dev/null otherwise.

Bug: curl#16929 (comment)
Reported-by: Viktor Szakats

Closes #xxxx
jay added a commit to jay/curl that referenced this pull request Apr 3, 2025
- Use File::Spec->devnull() to get the null device path.

Prior to this change we used NUL for Windows native perl and /dev/null
otherwise.

Bug: curl#16929 (comment)
Reported-by: Viktor Szakats
jay added a commit to jay/curl that referenced this pull request Apr 3, 2025
- Use File::Spec->devnull() to get the null device path.

Prior to this change we used NUL for Windows native perl and /dev/null
otherwise.

Bug: curl#16929 (comment)
Reported-by: Viktor Szakats

Closes #xxxx
@vszakats
Copy link
Member Author

vszakats commented Apr 3, 2025

@graywolf Attribution question: What name would you prefer to attribute you in the commit message?

@graywolf
Copy link

graywolf commented Apr 3, 2025

@graywolf Attribution question: What name would you prefer to attribute you in the commit message?

Tomas Volf :)

@vszakats vszakats closed this in 3d4e4a1 Apr 3, 2025
@vszakats
Copy link
Member Author

vszakats commented Apr 3, 2025

Thanks @graywolf!

@vszakats vszakats deleted the genserv-checks branch April 3, 2025 12:18
jay added a commit that referenced this pull request Apr 4, 2025
- Use File::Spec->devnull() to get the null device path.

Prior to this change we used NUL for Windows native perl and /dev/null
otherwise.

Bug: #16929 (comment)
Reported-by: Viktor Szakats

Closes #16930
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

Test 1700 fails inexplicably in 8.13.0 without the openssl tool present
4 participants