fixup! add ECC RNG patches hapd-wolfssl
authorDavid Bauer <mail@david-bauer.net>
Wed, 5 May 2021 00:09:17 +0000 (02:09 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 5 May 2021 00:09:17 +0000 (02:09 +0200)
package/network/services/hostapd/patches/0001-wolfssl-init-RNG-with-ECC-key.patch

index 883e91e6f734eb0861d3611dfdcf69c460feae69..ddb46f9363c174cdb4d99c87eba88e2cf5111484 100644 (file)
@@ -25,7 +25,7 @@ index 2e4bf8962..ed2528159 100644
  
        if (wc_ecc_init(&e->key) != 0 ||
 +          wc_InitRng(&e->rng) != 0 ||
-+          wc_ecc_set_rng(&e->key, ) != 0 ||
++          wc_ecc_set_rng(&e->key, &e->rng) != 0 ||
            wc_ecc_set_curve(&e->key, 0, curve_id) != 0 ||
            mp_init(&e->a) != MP_OKAY ||
            mp_init(&e->prime) != MP_OKAY ||