mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 12:10:59 +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)
|
function setPublicKey($key)
|
||||||
{
|
{
|
||||||
|
$key->setPublicKey();
|
||||||
$this->publicKey = $key;
|
$this->publicKey = $key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user