1
0
Fork 0

Merge pull request #5924 from alcohol/support-libressl

support libressl
pull/5927/head
Jordi Boggiano 2016-12-01 13:37:45 +01:00 committed by GitHub
commit df29bbc98e
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class PlatformRepository extends ArrayRepository
break;
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])) {
return $match[1];
}