mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-09 15:41:10 +03:00
CVE-2023-6918: kdf: Reformat
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
a8b9d13687
commit
a16f34c57a
@@ -115,8 +115,10 @@ static void ssh_mac_final(unsigned char *md, ssh_mac_ctx ctx)
|
||||
}
|
||||
|
||||
int sshkdf_derive_key(struct ssh_crypto_struct *crypto,
|
||||
unsigned char *key, size_t key_len,
|
||||
uint8_t key_type, unsigned char *output,
|
||||
unsigned char *key,
|
||||
size_t key_len,
|
||||
uint8_t key_type,
|
||||
unsigned char *output,
|
||||
size_t requested_len)
|
||||
{
|
||||
/* Can't use VLAs with Visual Studio, so allocate the biggest
|
||||
|
||||
Reference in New Issue
Block a user