Skip to content

Commit

Permalink
Merge pull request #5096 from JediKev/i18n/openssl-error
Browse files Browse the repository at this point in the history
i18n: OpenSSL Error
  • Loading branch information
protich committed Oct 21, 2019
2 parents 7620b47 + af6f0e9 commit 9ab42de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/class.plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ static function lookup($id) { //Assuming local ID is the only lookup used!
static function isVerified($phar) {
static $pubkey = null;

if (!class_exists('Phar'))
if (!class_exists('Phar') || !extension_loaded('openssl'))
return self::VERIFY_EXT_MISSING;
elseif (!file_exists(INCLUDE_DIR . '/plugins/updates.pem'))
return self::VERIFY_NO_KEY;
Expand Down

0 comments on commit 9ab42de

Please sign in to comment.