1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-08-10 06:23:01 +03:00

wrapper: Reformat crypto_new

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2023-03-10 16:22:09 +01:00
parent 36273e708a
commit 7e40f13125

View File

@@ -150,7 +150,8 @@ static void cipher_free(struct ssh_cipher_struct *cipher) {
SAFE_FREE(cipher); SAFE_FREE(cipher);
} }
struct ssh_crypto_struct *crypto_new(void) { struct ssh_crypto_struct *crypto_new(void)
{
struct ssh_crypto_struct *crypto; struct ssh_crypto_struct *crypto;
crypto = malloc(sizeof(struct ssh_crypto_struct)); crypto = malloc(sizeof(struct ssh_crypto_struct));