Home GnuPG

Fix strict-aliasing problems in rijndael.c
f17d50bbd31bUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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.

Details

Provenance
wernerAuthored on Feb 18 2011, 2:30 PM
Parents
rCdc880b55f4bb: Flag the _ac_ functions as deprecated.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCf17d50bbd31b: Fix strict-aliasing problems in rijndael.c (authored by Werner Koch <wk@gnupg.org>).Feb 18 2011, 2:30 PM