remove dead store in ecdsa_signature_parse_der_lax

This change was made in bitcoin/bitcoin without upstreaming. So this is
a followup to the comment here:
https://github.com/bitcoin/bitcoin/pull/19228#issuecomment-641795558.

See also: https://github.com/bitcoin/bitcoin/pull/11073.
This commit is contained in:
fanquake 2020-06-29 13:17:24 +08:00
parent dbd41db16a
commit f00d6575ca
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -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) {