X509: assume anything being passed into setPublicKey() is a public key

This commit is contained in:
terrafrost 2013-10-05 21:28:33 -05:00
parent 77447a3fc7
commit d2f6362878

View File

@ -2714,6 +2714,7 @@ class File_X509 {
*/ */
function setPublicKey($key) function setPublicKey($key)
{ {
$key->setPublicKey();
$this->publicKey = $key; $this->publicKey = $key;
} }