We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12660b5 commit 04c6bd2Copy full SHA for 04c6bd2
src/Component/Core/Util/ECSignature.php
@@ -89,7 +89,7 @@ public static function fromDER(string $der, int $partLength): string
89
*/
90
private static function preparePositiveInteger(string $data): string
91
{
92
- if (mb_substr($data, 0, 2, '8bit') >= '7f') {
+ if (mb_substr($data, 0, 2, '8bit') > '7f') {
93
return '00'.$data;
94
}
95
while ('00' === mb_substr($data, 0, 2, '8bit') && mb_substr($data, 2, 2, '8bit') <= '7f') {
0 commit comments