]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix couple more typos
authorJouni Malinen <jouni@codeaurora.org>
Mon, 19 Oct 2020 21:19:44 +0000 (00:19 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 19 Oct 2020 21:37:01 +0000 (00:37 +0300)
Couple of similar cases that were not included in the previous commit.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/tls/rsa.c
wpa_supplicant/examples/p2p/p2p_group_add.py
wpa_supplicant/examples/udhcpd-p2p.conf

index 3525eb9919db3a358d074bad71efeedeff3fa7d6..1b01f5843dae67912945152c07cceeba13289d6c 100644 (file)
@@ -285,7 +285,7 @@ int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
 
        if (use_private) {
                /*
-                * Decrypt (or sign) using Chinese remainer theorem to speed
+                * Decrypt (or sign) using Chinese remainder theorem to speed
                 * up calculation. This is equivalent to tmp = tmp^d mod n
                 * (which would require more CPU to calculate directly).
                 *
index fbfc2382ee59fd3fa75391a6f1af53eafa7dd24e..db6d60d80c1b924edb65295429471d1677665a98 100644 (file)
@@ -120,7 +120,7 @@ class P2P_Group_Add (threading.Thread):
                        signal_name="WpsFailed")
 
                # Sets up p2p_group_add dictionary
-       def constructArguements(self):
+       def constructArguments(self):
                self.P2PDictionary = {'persistent':self.persistent}
 
                if (self.frequency != None):
@@ -215,7 +215,7 @@ if __name__ == "__main__":
        except:
                print("Error:\n  Invalid Arguments")
 
-       p2p_group_add_test.constructArguements()
+       p2p_group_add_test.constructArguments()
        p2p_group_add_test.start()
        time.sleep(5)
        print("Error:\n  Group formation timed out")
index 9916a166c5c9f8e3667de827e6cf4963edefe6c3..f92cc619e96282c62a512ccf14d4686fac81cab0 100644 (file)
@@ -11,8 +11,8 @@ end           192.168.42.254  #default: 192.168.0.254
 interface      wlan2           #default: eth0
 
 
-# The maximum number of leases (includes addressesd reserved
-# by OFFER's, DECLINE's, and ARP conflicts
+# The maximum number of leases (includes addresses reserved
+# by OFFER's, DECLINE's, and ARP conflicts)
 
 #max_leases    254             #default: 254
 
@@ -116,5 +116,3 @@ option      lease   864000          # 10 days of seconds
 # Static leases map
 #static_lease 00:60:08:11:CE:4E 192.168.0.54
 #static_lease 00:60:08:11:CE:3E 192.168.0.44
-
-