wpad-wolfssl: fix crypto_bignum_sub()
authorAntonio Quartulli <a@unstable.cc>
Tue, 28 Apr 2020 10:06:58 +0000 (12:06 +0200)
committerRISCi_ATOM <Bob@bobcall.me>
Thu, 7 May 2020 15:20:37 +0000 (11:20 -0400)
commit57283378d448180f5458d24400c5086a0512f1e0
treeeee71c463c026c26ea749d2c3d613889828e86f1
parent1abb1c34130150a8dd72f26d95b78308f547f183
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]