Skip to content

Commit 2e1ccdc

Browse files
author
Dag Robole
committed
Remove redundant conditional expression
1 parent 84973d3 commit 2e1ccdc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ecdsa_impl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ static int secp256k1_der_read_len(const unsigned char **sigp, const unsigned cha
8181
return -1;
8282
}
8383
while (lenleft > 0) {
84-
if ((ret >> ((sizeof(size_t) - 1) * 8)) != 0) {
85-
}
8684
ret = (ret << 8) | **sigp;
8785
if (ret + lenleft > (size_t)(sigend - *sigp)) {
8886
/* Result exceeds the length of the passed array. */

0 commit comments

Comments
 (0)