From: Niels Möller Date: Wed, 4 Oct 2023 06:02:58 +0000 (+0200) Subject: Delete redundant assignment in umac code. X-Git-Tag: nettle_3.10rc1~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e7f48abcb5e3cddfc2f9428257ba3ec33bf7597;p=thirdparty%2Fnettle.git Delete redundant assignment in umac code. --- diff --git a/ChangeLog b/ChangeLog index 14ecb84b..267b510a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2023-10-04 Niels Möller + + * umac-l2.c (_nettle_umac_l2_final): Delete redundant assignment. + 2023-10-03 Niels Möller * Makefile.in (check-fat): Reduce tests to run to TS_FAT, to speed diff --git a/umac-l2.c b/umac-l2.c index 1e070ea8..c0bc1a6c 100644 --- a/umac-l2.c +++ b/umac-l2.c @@ -146,7 +146,7 @@ _nettle_umac_l2_final(const uint32_t *key, uint64_t *state, unsigned n, if (yh == UMAC_P128_HI && yl >= UMAC_P128_LO) { state[0] = 0; - state[1] = yl -= UMAC_P128_LO; + state[1] = yl - UMAC_P128_LO; } } }