mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-02-05 05:18:28 +00:00
Crypt/AsymmetricKey: loading hidden custom key plugins didn't work
This commit is contained in:
parent
d2cd758ecb
commit
4bdfec9c23
@ -382,7 +382,7 @@ abstract class AsymmetricKey
|
|||||||
$shortname = $meta->getShortName();
|
$shortname = $meta->getShortName();
|
||||||
self::$plugins[static::ALGORITHM]['Keys'][strtolower($shortname)] = $fullname;
|
self::$plugins[static::ALGORITHM]['Keys'][strtolower($shortname)] = $fullname;
|
||||||
if ($meta->hasConstant('IS_INVISIBLE')) {
|
if ($meta->hasConstant('IS_INVISIBLE')) {
|
||||||
self::$invisiblePlugins[static::ALGORITHM] = strtolower($name);
|
self::$invisiblePlugins[static::ALGORITHM][] = strtolower($shortname);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user