From 6c0575f8dbb143e1483d11f5f477187df9011bce Mon Sep 17 00:00:00 2001 From: terrafrost Date: Wed, 20 Jul 2016 00:17:24 -0500 Subject: [PATCH] ASN1: update code to use 2.0-style constants --- phpseclib/File/ASN1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpseclib/File/ASN1.php b/phpseclib/File/ASN1.php index 4b67366d..a25ac5aa 100644 --- a/phpseclib/File/ASN1.php +++ b/phpseclib/File/ASN1.php @@ -842,7 +842,7 @@ class ASN1 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 */ - if ($mapping['type'] == FILE_ASN1_TYPE_SET) { + if ($mapping['type'] == self::TYPE_SET) { sort($value); } $value = implode($value, '');