missing 'crypto_mod_exp' for for CONFIG_TLS=gnutls

Daniel Mierswa impulze
Wed Feb 4 20:46:24 PST 2009


When building the latest checkout and specifying CONFIG_TLS=gnutls and
CONFIG_WPS=y the build fails with:

x86_64-pc-linux-gnu-gcc -Wl,--hash-style=gnu,--sort-common -o wpa_cli
wpa_cli.o ../src/common/wpa_ctrl.o ../src/utils/os_unix.o

../src/crypto/dh_groups.o: In function `dh_derive_shared':

dh_groups.c:(.text+0xdf): undefined reference to `crypto_mod_exp'

../src/crypto/dh_groups.o: In function `dh_init':

dh_groups.c:(.text+0x213): undefined reference to `crypto_mod_exp'

collect2: ld returned 1 exit status

crypto_mod_exp is only implemented for CONFIG_TLS=internal and
CONFIG_TLS=openssl. Would it be too much of a hussle to implement it for
GnuTLS aswell? And if so, shouldn't the internal solution be chosen in
the Makefile?


-- 
Mierswa, Daniel

If you still don't like it, that's ok: that's why I'm boss. I simply
know better than you do.
               --- Linus Torvalds, comp.os.linux.advocacy, 1996/07/22




More information about the Hostap mailing list