aa87e08cc72fdf708cfc353020a713970991a21b
Some portions of libhcrypto are reused by other projects in diverse environments, including within operating system kernel modules. In some such build environments, hardening measures such as grsecurity can (randomly) reorder structure elements, so as to make it harder for an attacker to determine the offset from a known field's address to a different field that is needed for an attack. However, doing so requires the use of C99 designated initializers to make the source code compatible with such structure rearrangement, as opposed to the "traditional" C aggregate type initializers, which just list fields in order. This feature is also available as a GCC extension since early versions of GCC. However, it is not provided by many common versions of visual studio (and presumably also not by the vendor compiler for various commercial Unixes), so the traditional initializers must remain, behind a conditional. __GNUC__ or __STDC_VERSION__ >= 199901 should be enough to get most cases with support for designated initializers, at least for now. Signed-off-by: Nicolas Williams <nico@twosigma.com>
Heimdal is a Kerberos 5 implementation. For information how to install see <http://www.h5l.org/compile.html>. There are briefer man pages for most of the commands. Bug reports and bugs are appreciated, see more under Bug reports in the manual on how we prefer them: <heimdal-bugs@h5l.org>. For more information see the web-page at <http://www.h5l.org/> or the mailing lists: heimdal-announce@sics.se low-volume announcement heimdal-discuss@sics.se high-volume discussion send a mail to heimdal-announce-request@sics.se and heimdal-discuss-request@sics.se respectively to subscribe.
Description
Languages
C
92.1%
Roff
2.8%
Shell
2.3%
Makefile
0.7%
M4
0.5%
Other
1.4%