1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

Fix a bunch of -Wmaybe-uninitialized

Reviewed-By: Aris Adamantiadis <aris@0xbadc0de.be>
This commit is contained in:
Fabiano Fidêncio
2015-12-17 14:55:52 +01:00
committed by Aris Adamantiadis
parent 71ce6592e4
commit 0d7da3207f
4 changed files with 6 additions and 6 deletions

View File

@@ -181,7 +181,7 @@ void ssh_mac_update(ssh_mac_ctx ctx, const void *data, unsigned long len) {
}
void ssh_mac_final(unsigned char *md, ssh_mac_ctx ctx) {
size_t len;
size_t len = 0;
switch(ctx->mac_type){
case SSH_MAC_SHA1:
len=SHA_DIGEST_LEN;