mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 10:45:11 +00:00
ASN1: update code to use 2.0-style constants
This commit is contained in:
parent
485b8e0463
commit
6c0575f8db
@ -842,7 +842,7 @@ class ASN1
|
|||||||
NOTE - The padding octets are for comparison purposes only and do not appear in the encodings."
|
NOTE - The padding octets are for comparison purposes only and do not appear in the encodings."
|
||||||
|
|
||||||
-- sec 11.6 of http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf */
|
-- sec 11.6 of http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf */
|
||||||
if ($mapping['type'] == FILE_ASN1_TYPE_SET) {
|
if ($mapping['type'] == self::TYPE_SET) {
|
||||||
sort($value);
|
sort($value);
|
||||||
}
|
}
|
||||||
$value = implode($value, '');
|
$value = implode($value, '');
|
||||||
|
Loading…
Reference in New Issue
Block a user