From 61dec9a07ad9c7ba3f8e267116e8faeabb7d791b Mon Sep 17 00:00:00 2001 From: "Pavel I. Kryukov" Date: Thu, 3 Jan 2019 01:31:38 +0300 Subject: [PATCH] sshmac.c: remove excessive return statement --- sshmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sshmac.c b/sshmac.c index 3d597418..c117d90b 100644 --- a/sshmac.c +++ b/sshmac.c @@ -32,7 +32,7 @@ static void ssh2_mac_prepare(ssh2_mac *mac, const void *blk, int len, void ssh2_mac_generate(ssh2_mac *mac, void *blk, int len, unsigned long seq) { ssh2_mac_prepare(mac, blk, len, seq); - return ssh2_mac_genresult(mac, (unsigned char *)blk + len); + ssh2_mac_genresult(mac, (unsigned char *)blk + len); } bool ssh2_mac_verify(