gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug: missing ifdef in lib/x509/mpi.c


From: Bill Randle
Subject: bug: missing ifdef in lib/x509/mpi.c
Date: Sun, 27 Dec 2009 20:00:05 -0800

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
        address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]