mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
X509: assume anything being passed into setPublicKey() is a public key
This commit is contained in:
parent
77447a3fc7
commit
d2f6362878
@ -2714,6 +2714,7 @@ class File_X509 {
|
||||
*/
|
||||
function setPublicKey($key)
|
||||
{
|
||||
$key->setPublicKey();
|
||||
$this->publicKey = $key;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user