From bcf6f52bf2cd746e73738bb6faaff2caeaab8d78 Mon Sep 17 00:00:00 2001 From: "Pavel I. Kryukov" Date: Wed, 2 Jan 2019 19:55:54 +0300 Subject: [PATCH] sshmd5.c: remove excessive return statement --- sshmd5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshmd5.c b/sshmd5.c index a9058be8..b4121aa5 100644 --- a/sshmd5.c +++ b/sshmd5.c @@ -311,7 +311,7 @@ void hmacmd5_do_hmac(struct hmacmd5_context *ctx, { ssh2_mac_start(&ctx->mac); put_data(&ctx->mac, blk, len); - return ssh2_mac_genresult(&ctx->mac, hmac); + ssh2_mac_genresult(&ctx->mac, hmac); } const struct ssh2_macalg ssh_hmac_md5 = {