1
0
Fork 0

support libressl

closes #5917
pull/5924/head
Rob Bast 2016-12-01 13:36:43 +01:00
parent 8a2f597db3
commit bcba1399c5
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39
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];
}