]> git.ipfire.org Git - thirdparty/nettle.git/commit
blowfish: Add casts to uint32_t.
authorNiels Möller <nisse@lysator.liu.se>
Thu, 29 Oct 2020 19:04:20 +0000 (20:04 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Thu, 29 Oct 2020 19:04:20 +0000 (20:04 +0100)
commit4c8b0cdd97ffec3ae3f8d995afdfccbc261b3c79
tree7bfadda6723826b053d69bd464999a2db42b4da1
parent2f3c633e94f09cd03a94ffd8f7ddac4020da81e7
blowfish: Add casts to uint32_t.

Avoids undefined behavior, since shifting an 8-bit value left by 24
bits overflows the range of signed int. Reported by Guido Vranken.
ChangeLog
blowfish.c