Pieter Wuille [ARCHIVE] on Nostr: 📅 Original date posted:2015-01-21 📝 Original message:On Tue, Jan 20, 2015 at ...
📅 Original date posted:2015-01-21
📝 Original message:On Tue, Jan 20, 2015 at 11:45 PM, Rusty Russell <rusty at rustcorp.com.au> wrote:
> // Null bytes at the start of R are not allowed, unless it would otherwise be
> // interpreted as a negative number.
> if (lenS > 1 && (sig[lenR + 6] == 0x00) && !(sig[lenR + 7] & 0x80))
> return false;
>
> You mean "null bytes at the start of S".
Thanks, fixed.
--
Pieter
📝 Original message:On Tue, Jan 20, 2015 at 11:45 PM, Rusty Russell <rusty at rustcorp.com.au> wrote:
> // Null bytes at the start of R are not allowed, unless it would otherwise be
> // interpreted as a negative number.
> if (lenS > 1 && (sig[lenR + 6] == 0x00) && !(sig[lenR + 7] & 0x80))
> return false;
>
> You mean "null bytes at the start of S".
Thanks, fixed.
--
Pieter