Browse Source

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
0.16
Wladimir J. van der Laan 7 years ago
parent
commit
3bb77ebee6
No known key found for this signature in database
GPG Key ID: 1E4AED62986CD25D
  1. 1
      src/pubkey.cpp

1
src/pubkey.cpp

@ -126,7 +126,6 @@ static int ecdsa_signature_parse_der_lax(const secp256k1_context* ctx, secp256k1 @@ -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) {

Loading…
Cancel
Save