aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-10-12 13:41:05 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-10-12 13:41:12 +0200
commit3bb77ebee6e3c9ff4b1d40812266166c987d5f57 (patch)
treef7d1e2308249233b0ddab2c6394d9aa5ef55500d
parenta865b38bf33202b66ee2e72912fe164aa2a504c7 (diff)
parentbfebc0b8071beb82e20afa2b5d751a5c6e725329 (diff)
Merge #11073: Remove dead store in ecdsa_signature_parse_der_lax.
bfebc0b Remove dead store in ecdsa_signature_parse_der_lax. (Eelis) Pull request description: This was one of the issues found by Clang's static analyzer (#9573). Tree-SHA512: 3674c56ccdc750bfe42e41d56b1f2058b6921c5354f7e757f6af10a759c5be75e23d6c7932a4524b9a24da308f426803b11deffbfcf09a5898a4204ee61d16d2
-rw-r--r--src/pubkey.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pubkey.cpp b/src/pubkey.cpp
index 2da7be783f..2dd0a87fc9 100644
--- a/src/pubkey.cpp
+++ b/src/pubkey.cpp
@@ -126,7 +126,6 @@ static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1
return 0;
}
spos = pos;
- pos += slen;
/* Ignore leading zeroes in R */
while (rlen > 0 && input[rpos] == 0) {