mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
X509: symmetric array destructuring requires PHP 7.1+
This commit is contained in:
parent
0dabb0c090
commit
acc2657511
@ -670,7 +670,8 @@ class X509
|
|||||||
*/
|
*/
|
||||||
private function mapOutExtensions(&$root, $path)
|
private function mapOutExtensions(&$root, $path)
|
||||||
{
|
{
|
||||||
foreach ($this->extensionValues as $id => [$critical, $value]) {
|
foreach ($this->extensionValues as $id => $value) {
|
||||||
|
list($critical, $value) = $value;
|
||||||
$root['tbsCertificate']['extensions'][] = [
|
$root['tbsCertificate']['extensions'][] = [
|
||||||
'extnId' => $id,
|
'extnId' => $id,
|
||||||
'extnValue' => $value,
|
'extnValue' => $value,
|
||||||
|
Loading…
Reference in New Issue
Block a user