wpad-wolfssl: fix crypto_bignum_sub()
authorAntonio Quartulli <a@unstable.cc>
Tue, 28 Apr 2020 10:06:58 +0000 (12:06 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 1 May 2020 15:19:47 +0000 (16:19 +0100)
commit2df0ea042d14dbfc2735b843eb82a0ae0d8bec19
tree822864bd18015aeb684773a23dc9aa628bc8811f
parentec6cb33452fe61112c42ddda471730aed9a624a3
wpad-wolfssl: fix crypto_bignum_sub()

Backport patch from hostapd.git master that fixes copy/paste error in
crypto_bignum_sub() in crypto_wolfssl.c.

This missing fix was discovered while testing SAE over a mesh interface.

With this fix applied and wolfssl >3.14.4 mesh+SAE works fine with
wpad-mesh-wolfssl.

Cc: Sean Parkinson <sean@wolfssl.com>
Signed-off-by: Antonio Quartulli <a@unstable.cc>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 4b3b8ec81cd1965d0bd548fa31db491295b83354)
package/network/services/hostapd/patches/090-wolfssl-fix-crypto_bignum_sum.patch [new file with mode: 0644]