symm/twofish.c: Break a line to make the code clearer.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 4 Jul 2017 16:47:54 +0000 (17:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 4 Jul 2017 23:50:30 +0000 (00:50 +0100)
In retrospect, squashing all of that onto one line was an error.  Thanks
to GCC 6 for pointing this out.

symm/twofish.c

index 05e8fc5..02b43d0 100644 (file)
@@ -307,7 +307,8 @@ void twofish_fkinit(twofish_fk *fk, const void *buf, size_t sz)
   kk = buf; sz /= 4;
   for (i = 0; i < sz; i++) { fk->t0[i] = LOAD32_L(kk); kk += 4; }
 
-  for (i = 0; i < 4; i++) pt[i] = 0; twofish_eblk(&k, pt, ct);
+  for (i = 0; i < 4; i++) pt[i] = 0;
+  twofish_eblk(&k, pt, ct);
   for (i = 0; i < 4; i++) STORE32_L(fk->t1 + i * 4, ct[i]);
   pt[0] = 1; twofish_eblk(&k, pt, ct);
   for (i = 0; i < 4; i++) STORE32_L(fk->t1 + 4 + i * 4, ct[i]);