Skip to content

Commit

Permalink
remove dead store in ecdsa_signature_parse_der_lax
Browse files Browse the repository at this point in the history
This change was made in bitcoin/bitcoin without upstreaming. So this is
a followup to the comment here:
bitcoin#19228 (comment).

See also: bitcoin#11073.
  • Loading branch information
fanquake committed Jun 29, 2020
1 parent dbd41db commit f00d657
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contrib/lax_der_parsing.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1_ecdsa_
return 0;
}
spos = pos;
pos += slen;

/* Ignore leading zeroes in R */
while (rlen > 0 && input[rpos] == 0) {
Expand Down

0 comments on commit f00d657

Please sign in to comment.