[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnutls-dev
Subject:    bug: missing ifdef in lib/x509/mpi.c
From:       Bill Randle <billr () neocat ! org>
Date:       2009-12-28 4:00:05
Message-ID: 1261972805.6106.23.camel () neosoft ! neocat ! org
[Download RAW message or body]

mpi.c calls gnutls_x509_crq_get_pk_algorithm() without protecting the
function with a #ifdef ENABLE_PKI. As a result, the linker will complain
about an undefined reference if ENABLE_PKI is not defined.

This happens when building gnutls-2.8.5, cross-compiled for an embedded
arm system. Configure was run as follows:

./configure --prefix=/usr --host=arm-linux
--disable-openssl-compatibility --disable-openpgp-authentication
--disable-extra-pki --disable-camellia --disable-psk-authentication
--with-included-libtasn1 --with-gnu-ld --disable-gtk-doc-html
--disable-guile
--with-libgcrypt-prefix=/proj2/pvpowered/workspace/ltib/ltib/rootfs/usr

I haven't looked the code enough to know where to put the ifdef or the
side effects of adding an ifdef. A suggested patch would be appreciated.

	-Bill Randle
	billr@neocat.org




_______________________________________________
Gnutls-devel mailing list
Gnutls-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/gnutls-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic