support libressl

closes #5917
main
Rob Bast 8 years ago
parent 8a2f597db3
commit bcba1399c5
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39

@ -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];
}

Loading…
Cancel
Save