Fix strict-aliasing problems in rijndael.c
authorWerner Koch <wk@gnupg.org>
Fri, 18 Feb 2011 13:30:13 +0000 (14:30 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 18 Feb 2011 13:30:13 +0000 (14:30 +0100)
commitf17d50bbd31b1faa24af1e46c10bba845becf585
tree3fafbfc3613d7bbed1db2dec03d5a61321a61f99
parentdc880b55f4bb27d20c0224338836ac0505f386ff
Fix strict-aliasing problems in rijndael.c

We used to use -fno-strict-aliasing but only if configured in
maintainer-mode.  Thus with gcc-4.4 we could run into problems.  The
fix is to define a new type with the may_alias attribute and use this
for the casting stuff in do_encrypt_aligned and do_decrypt_aligned.
ChangeLog
cipher/ChangeLog
cipher/rijndael.c
configure.ac