[PATCH] link error "undefined reference to `crypto_mod_exp'" fixed

Jouni Malinen j
Thu Dec 18 10:11:40 PST 2008

On Thu, Dec 18, 2008 at 02:21:56PM +0200, Andriy Tkachuk wrote:

> In the latest source code when trying to build supplicant with
> CONFIG_WPS=y and CONFIG_TLS=internal (and of course
> CONFIG_INTERNAL_LIBTOMMATH=y also) on the linking stage the following
> error occurs:

../src/crypto/dh_groups.c:609: undefined reference to `crypto_mod_exp'

Attached is the minor patch which solves this issue.

Thanks, fixed.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list