Merge pull request #5924 from alcohol/support-libressl

support libressl
main
Jordi Boggiano 8 years ago committed by GitHub
commit df29bbc98e

@ -162,7 +162,7 @@ class PlatformRepository extends ArrayRepository
break; break;
case 'openssl': case 'openssl':
$prettyVersion = preg_replace_callback('{^(?:OpenSSL\s*)?([0-9.]+)([a-z]*).*}', function ($match) { $prettyVersion = preg_replace_callback('{^(?:OpenSSL|LibreSSL)?\s*([0-9.]+)([a-z]*).*}i', function ($match) {
if (empty($match[2])) { if (empty($match[2])) {
return $match[1]; return $match[1];
} }

Loading…
Cancel
Save