]> git.ipfire.org Git - thirdparty/curl.git/commit
secureserver.pl: fix stunnel version parsing
authorJay Satiro <raysatiro@yahoo.com>
Wed, 23 Aug 2023 06:49:47 +0000 (02:49 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Mon, 28 Aug 2023 19:10:48 +0000 (15:10 -0400)
commit51686e0054fd16dd5bf3070ff995ce8066eedcdf
treea8611151c95870fcb58e07b478fa776447d43492
parentf2bc51a0bdac97c9eb6ac6cecee0d8682fd9a45e
secureserver.pl: fix stunnel version parsing

- Allow the stunnel minor-version version part to be zero.

Prior to this change with the stunnel version scheme of <major>.<minor>
if either part was 0 then version parsing would fail, causing
secureserver.pl to fail with error "No stunnel", causing tests that use
the SSL protocol to be skipped. As a practical matter this bug can only
be caused by a minor-version part of 0, since the major-version part is
always greater than 0.

Closes https://github.com/curl/curl/pull/11722
tests/secureserver.pl