|
@@ -87,7 +87,7 @@ |
|
|
block discarded – undo |
|
87
|
87
|
} elseif ($length < self::ASN1_SIZE_256) { |
|
88
|
88
|
$output = sprintf("%c%c%c%s", $type, self::ASN1_SIZE_128 + 1, $length, $string); |
|
89
|
89
|
} else { // ($length < self::ASN1_SIZE_65535) |
|
90
|
|
- $output = sprintf("%c%c%c%c%s", $type, self::ASN1_SIZE_128 +2, $length / 0x0100, $length % 0x0100, $string); |
|
|
90
|
+ $output = sprintf("%c%c%c%c%s", $type, self::ASN1_SIZE_128 + 2, $length / 0x0100, $length % 0x0100, $string); |
|
91
|
91
|
} |
|
92
|
92
|
|
|
93
|
93
|
return $output; |
Please login to merge, or discard this patch.