<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Hi Jouni and community.<br>
<br>
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:<br>
</font></font>
<pre>../src/crypto/dh_groups.o(.text+0xbb): In function `dh_derive_shared':
../src/crypto/dh_groups.c:609: undefined reference to `crypto_mod_exp'
../src/crypto/dh_groups.o(.text+0x243): In function `dh_init':
../src/crypto/dh_groups.c:573: undefined reference to `crypto_mod_exp'
collect2: ld returned 1 exit status
make: *** [wpa_supplicant] Error 1
</pre>
<font size="-1"><font face="Verdana">Attached is the minor patch which
solves this issue.<br>
<br>
<br>
Reards,<br>
  Andriy<br>
</font></font>
</body>
</html>