]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Delete redundant assignment in umac code.
authorNiels Möller <nisse@lysator.liu.se>
Wed, 4 Oct 2023 06:02:58 +0000 (08:02 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Wed, 4 Oct 2023 06:02:58 +0000 (08:02 +0200)
ChangeLog
umac-l2.c

index 14ecb84bc279ae9b6885a21f7db16a155416d0f2..267b510a64d2d2510ad2640f8350dcc7121d41de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-10-04  Niels Möller  <nisse@lysator.liu.se>
+
+       * umac-l2.c (_nettle_umac_l2_final): Delete redundant assignment.
+
 2023-10-03  Niels Möller  <nisse@lysator.liu.se>
 
        * Makefile.in (check-fat): Reduce tests to run to TS_FAT, to speed
index 1e070ea874de122a4316d85aeeb8dfe402fe1003..c0bc1a6caaba9e624f7247c68715bd0815d0aab2 100644 (file)
--- 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;
            }
        }
     }