Skip to content

Commit

Permalink
Remove unnecessary casts in the misc implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
levitte authored and sjaeckel committed Nov 8, 2024
1 parent b98ef26 commit 4b3c98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/misc/ssh/ssh_decode_sequence_multi.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ int ssh_decode_sequence_multi(const unsigned char *in, unsigned long *inlen, ...
err = CRYPT_INVALID_PACKET;
goto error;
} else {
if ((err = mp_read_unsigned_bin(vdata, (unsigned char *)in, size)) != CRYPT_OK) { goto error; }
if ((err = mp_read_unsigned_bin(vdata, in, size)) != CRYPT_OK) { goto error; }
}
in += size;
break;
Expand Down

0 comments on commit 4b3c98a

Please sign in to comment.