Skip to content
Commit 4bd064de authored by Michael Brown's avatar Michael Brown
Browse files

[build] Fix building on older versions of gcc



Older versions of gcc (observed with gcc 4.5.3) require attributes to
be specified on the first declaration of a symbol, and will silently
ignore attributes specified after the initial declaration.  This
causes the ASN.1 OID-identified algorithms to end up misaligned.

Fix by adding __asn1_algorithm to the initial declarations in asn1.h.

Debugged-by: default avatarDentcho Bankov <dbankov@vmware.com>
Signed-off-by: default avatarMichael Brown <mcb30@ipxe.org>
parent ef2c844d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment