Remove unnecessary casts in the misc implementations

This commit is contained in:
Richard Levitte 2024-09-17 11:34:22 +02:00 committed by Steffen Jaeckel
parent b98ef26112
commit 4b3c98a4e6

View file

@ -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;