Skip to content

Commit

Permalink
Remove redundant conditional expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Dag Robole committed Jul 13, 2017
1 parent 84973d3 commit 2e1ccdc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/ecdsa_impl.h
Expand Up @@ -81,8 +81,6 @@ static int secp256k1_der_read_len(const unsigned char **sigp, const unsigned cha
return -1;
}
while (lenleft > 0) {
if ((ret >> ((sizeof(size_t) - 1) * 8)) != 0) {
}
ret = (ret << 8) | **sigp;
if (ret + lenleft > (size_t)(sigend - *sigp)) {
/* Result exceeds the length of the passed array. */
Expand Down

0 comments on commit 2e1ccdc

Please sign in to comment.