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 = {