mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-27 22:59:02 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
1359431224
@ -1388,6 +1388,10 @@ class RSA
|
|||||||
// http://en.wikipedia.org/wiki/XML_Signature
|
// http://en.wikipedia.org/wiki/XML_Signature
|
||||||
case self::PRIVATE_FORMAT_XML:
|
case self::PRIVATE_FORMAT_XML:
|
||||||
case self::PUBLIC_FORMAT_XML:
|
case self::PUBLIC_FORMAT_XML:
|
||||||
|
if (!extension_loaded('xml')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
$this->components = array();
|
$this->components = array();
|
||||||
|
|
||||||
$xml = xml_parser_create('UTF-8');
|
$xml = xml_parser_create('UTF-8');
|
||||||
|
Loading…
Reference in New Issue
Block a user