From f00d6575ca0dcca11e085b20afa4d73dc8742ddc Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 29 Jun 2020 13:17:24 +0800 Subject: [PATCH] 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. --- contrib/lax_der_parsing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/lax_der_parsing.c b/contrib/lax_der_parsing.c index e177a0562dd2d..f71db4b53524c 100644 --- a/contrib/lax_der_parsing.c +++ b/contrib/lax_der_parsing.c @@ -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) {