You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpseclib/phpseclib/phpseclib/File/ASN1.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1181,8 +1181,8 @@ function _decodeOID($content)
1181
1181
$pos = 0;
1182
1182
$len = strlen($content);
1183
1183
// see https://github.com/openjdk/jdk/blob/2deb318c9f047ec5a4b160d66a4b52f93688ec42/src/java.base/share/classes/sun/security/util/ObjectIdentifier.java#L55
1184
-
if ($len > 4096) {
1185
-
//user_error('Object Identifier size is limited to 4096 bytes');
1184
+
if ($len > 128) {
1185
+
//user_error('Object Identifier size is limited to 128 bytes');
0 commit comments