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 8939c36 commit ba72c18Copy full SHA for ba72c18
src/Component/Core/Util/ECSignature.php
@@ -92,7 +92,7 @@ private static function preparePositiveInteger(string $data): string
92
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') {
+ while ('00' === mb_substr($data, 0, 2, '8bit') && mb_substr($data, 2, 2, '8bit') <= '7f') {
96
$data = mb_substr($data, 2, null, '8bit');
97
98
0 commit comments