From 4b3c98a4e6fc3897964a92ceaf6b2f03716fe008 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 17 Sep 2024 11:34:22 +0200 Subject: [PATCH] Remove unnecessary casts in the misc implementations --- src/misc/ssh/ssh_decode_sequence_multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/misc/ssh/ssh_decode_sequence_multi.c b/src/misc/ssh/ssh_decode_sequence_multi.c index 3aa0e0812..65fb1e8ad 100644 --- a/src/misc/ssh/ssh_decode_sequence_multi.c +++ b/src/misc/ssh/ssh_decode_sequence_multi.c @@ -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;