ASN1: update code to use 2.0-style constants

This commit is contained in:
terrafrost 2016-07-20 00:17:24 -05:00
parent 485b8e0463
commit 6c0575f8db

View File

@ -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, '');