aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2022-01-17 20:57:05 +0100
committerDavid Bauer <mail@david-bauer.net>2022-02-08 00:21:41 +0100
commit04ed224543ad10030c4394c86e533f02bf596a1b (patch)
tree360fab3325374b11ed71478379380b35a45a04d3 /package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch
parentadb8c09a83d3f8e1d9e9fcbb8189b415ac0f6e86 (diff)
downloadupstream-04ed224543ad10030c4394c86e533f02bf596a1b.tar.gz
upstream-04ed224543ad10030c4394c86e533f02bf596a1b.tar.bz2
upstream-04ed224543ad10030c4394c86e533f02bf596a1b.zip
hostapd: refresh patches
Refresh patches after updating to hostapd v2.10. Signed-off-by: David Bauer <mail@david-bauer.net>
Diffstat (limited to 'package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch')
-rw-r--r--package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch b/package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch
index 84fc1c9351..994aa30626 100644
--- a/package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch
+++ b/package/network/services/hostapd/patches/001-wolfssl-init-RNG-with-ECC-key.patch
@@ -16,7 +16,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
--- a/src/crypto/crypto_wolfssl.c
+++ b/src/crypto/crypto_wolfssl.c
-@@ -1303,6 +1303,7 @@ int ecc_projective_add_point(ecc_point *
+@@ -1307,6 +1307,7 @@ int ecc_projective_add_point(ecc_point *
struct crypto_ec {
ecc_key key;
@@ -24,7 +24,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
mp_int a;
mp_int prime;
mp_int order;
-@@ -1357,6 +1358,8 @@ struct crypto_ec * crypto_ec_init(int gr
+@@ -1361,6 +1362,8 @@ struct crypto_ec * crypto_ec_init(int gr
return NULL;
if (wc_ecc_init(&e->key) != 0 ||
@@ -33,7 +33,7 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
wc_ecc_set_curve(&e->key, 0, curve_id) != 0 ||
mp_init(&e->a) != MP_OKAY ||
mp_init(&e->prime) != MP_OKAY ||
-@@ -1388,6 +1391,7 @@ void crypto_ec_deinit(struct crypto_ec*
+@@ -1392,6 +1395,7 @@ void crypto_ec_deinit(struct crypto_ec*
mp_clear(&e->order);
mp_clear(&e->prime);
mp_clear(&e->a);