mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-05 21:17:53 +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