openresty / test-nginx

Data-driven test scaffold for Nginx C module and OpenResty Lua library development
http://search.cpan.org/dist/Test-Nginx
438 stars 105 forks source link

fix: allow capture OpenSSL version without letter #131

Closed fffonion closed 2 years ago

fffonion commented 2 years ago

OpenSSL 3.0 start to use versioning without letter suffix (https://www.openssl.org/policies/releasestrat.html).

This patch fixes the case for OpenSSL 3.0 and forks like BoringSSL, to fix versions are falsely skipped with the reason of "Not built with OpenSSL".