mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-09 15:20:58 +00:00
X509: PHP4 compat changes
This commit is contained in:
parent
af0040b813
commit
aabc5cf822
@ -2509,7 +2509,8 @@ class File_X509
|
|||||||
$asn1->loadFilters($filters);
|
$asn1->loadFilters($filters);
|
||||||
$result = '';
|
$result = '';
|
||||||
foreach ($dn['rdnSequence'] as $rdn) {
|
foreach ($dn['rdnSequence'] as $rdn) {
|
||||||
foreach ($rdn as &$attr) {
|
foreach ($rdn as $i=>$attr) {
|
||||||
|
$attr = &$rdn[$i];
|
||||||
if (is_array($attr['value'])) {
|
if (is_array($attr['value'])) {
|
||||||
foreach ($attr['value'] as $type => $v) {
|
foreach ($attr['value'] as $type => $v) {
|
||||||
$type = array_search($type, $asn1->ANYmap, true);
|
$type = array_search($type, $asn1->ANYmap, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user