package/hostapd: fix build with CVE-2021-30004 changes
authorSergey Matyukevich <geomatsi@gmail.com>
Thu, 20 May 2021 05:48:53 +0000 (08:48 +0300)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 20 May 2021 09:10:57 +0000 (11:10 +0200)
commit75496165dc5aa291941a995d43f65efeb35766f1
tree1c2aeb5a64ec78703635aa5988d62a8f9efa7bea
parentedb32a03b5f989c57dfef0a4a3f939a5c2bce63f
package/hostapd: fix build with CVE-2021-30004 changes

Commit d65586f45a22 ("package/hostapd: add upstream patch to fix
CVE-2021-30004") added security patch from hostapd upstream without
required ASN.1 helpers. Backport and adapt two commits from the
hostapd upstream to add missing headers and helpers.

Fixes:
http://autobuild.buildroot.net/results/8f56cf556efbf447633ce873a21635f5adbc3cd2/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[yann.morin.1998@free.fr: slightly reformat the patches]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/hostapd/0003-Include-stdbool.h-to-allow-C99-bool-to-be-used.patch [new file with mode: 0644]
package/hostapd/0004-ASN.1-Add-helper-functions-for-recognizing-tag-value.patch [new file with mode: 0644]