]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Replace "dummy" with "stub" in comments/documentation
authorArowa Suliman <arowa@chromium.org>
Sun, 19 Sep 2021 06:24:29 +0000 (23:24 -0700)
committerJouni Malinen <j@w1.fi>
Mon, 11 Oct 2021 17:52:50 +0000 (20:52 +0300)
Replace the word "dummy" with the inclusive word "stub".

Signed-off-by: Arowa Suliman <arowa@chromium.org>
13 files changed:
doc/code_structure.doxygen
hostapd/hlr_auc_gw.milenage_db
src/crypto/crypto_internal-rsa.c
src/drivers/driver_nl80211.c
src/eap_peer/eap_proxy_dummy.c
src/eap_peer/eap_tls_common.h
src/eap_server/eap_tls_common.h
src/l2_packet/l2_packet_none.c
src/wps/wps_upnp.c
tests/hwsim/auth_serv/hlr_auc_gw.milenage_db
tests/hwsim/vm/inside.sh
wlantest/rx_eapol.c
wpa_supplicant/config_none.c

index 454f179753d3e84d332d889d258f93f5fe1983c2..3a3b21b72921ac3e60b2f0b4f5cd1fbdf51efe26 100644 (file)
@@ -130,7 +130,7 @@ with with hostapd. The following C files are currently used:
        Definition of TLS library wrapper
 
 \ref tls_none.c
-       Dummy implementation of TLS library wrapper for cases where TLS
+       Stub implementation of TLS library wrapper for cases where TLS
        functionality is not included.
 
 \ref tls_openssl.c
index c156a29aeda0ded03c9471159b179bfcab8639a6..a250653108b33494706be8b38f4c9cceccac487b 100644 (file)
@@ -3,7 +3,7 @@
 # 4.3.20 Test Set 20. SQN is the last used SQN value.
 # These values can be used for both UMTS (EAP-AKA) and GSM (EAP-SIM)
 # authentication. In case of GSM/EAP-SIM, AMF and SQN values are not used, but
-# dummy values will need to be included in this file.
+# stub values will need to be included in this file.
 
 # IMSI Ki OPc AMF SQN [RES_len]
 232010000000000 90dca4eda45b53cf0f12d7c9c3bc6a89 cb9cccc4b9258e6dca4760379fb82581 61df 000000000000
index dc7f350af057aa6630c76d0a1d82f1a15190e192..0c5ceadb805a3a36e11edae44a73388ebd39f5a1 100644 (file)
@@ -14,7 +14,7 @@
 #include "tls/pkcs1.h"
 #include "tls/pkcs8.h"
 
-/* Dummy structures; these are just typecast to struct crypto_rsa_key */
+/* Stub structures; these are just typecast to struct crypto_rsa_key */
 struct crypto_public_key;
 struct crypto_private_key;
 
index 7ad72b54ce5d137867e01c2eec7f885009e89121..9a9a146f7ea1381acb2e70e00aa1488148b64c1d 100644 (file)
@@ -5160,7 +5160,7 @@ static int wpa_driver_nl80211_sta_add(void *priv,
                        /*
                         * cfg80211 validates that AID is non-zero, so we have
                         * to make this a non-zero value for the TDLS case where
-                        * a dummy STA entry is used for now and for a station
+                        * a stub STA entry is used for now and for a station
                         * that is still not associated.
                         */
                        wpa_printf(MSG_DEBUG, "  * aid=1 (%s workaround)",
index 2cc05c92cdfc603f9a7ac2bea384ef10048cebd5..181e8cc74e8c6562ea22367b4b08e7f6456f6339 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * EAP proxy - dummy implementation for build testing
+ * EAP proxy - stub implementation for build testing
  * Copyright (c) 2013 Qualcomm Atheros, Inc.
  *
  * This software may be distributed under the terms of the BSD license.
index 183b7de00ae513d7f3beef458bc4a017efba1da8..9ac00121f664da45763db1800a8278643ce62df9 100644 (file)
@@ -92,7 +92,7 @@ struct eap_ssl_data {
  /* could be up to 128 bytes, but only the first 64 bytes are used */
 #define EAP_TLS_KEY_LEN 64
 
-/* dummy type used as a flag for UNAUTH-TLS */
+/* stub type used as a flag for UNAUTH-TLS */
 #define EAP_UNAUTH_TLS_TYPE 255
 #define EAP_WFA_UNAUTH_TLS_TYPE 254
 
index b0b73612301608e5fd1e53da84f67c13673b5ba4..b0723a1fa492cafee461da39c1ed9b68c8f7ee9c 100644 (file)
@@ -68,7 +68,7 @@ struct eap_ssl_data {
  /* could be up to 128 bytes, but only the first 64 bytes are used */
 #define EAP_TLS_KEY_LEN 64
 
-/* dummy type used as a flag for UNAUTH-TLS */
+/* stub type used as a flag for UNAUTH-TLS */
 #define EAP_UNAUTH_TLS_TYPE 255
 #define EAP_WFA_UNAUTH_TLS_TYPE 254
 
index bc7a4e82d672d2f32a8eea4250582111facd2ac4..6783d7391cb02ebaa28bd2e7b997de8a327f12dd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * WPA Supplicant - Layer2 packet handling example with dummy functions
+ * WPA Supplicant - Layer2 packet handling example with stub functions
  * Copyright (c) 2003-2005, Jouni Malinen <j@w1.fi>
  *
  * This software may be distributed under the terms of the BSD license.
index ff58cb938a9c57465641eb6bfc294c0a904edde9..05bb9c5853d67357cf56884d395806fd6e5e1a08 100644 (file)
@@ -658,7 +658,7 @@ static int subscription_first_event(struct subscription *s)
                /*
                 * There has been no events before the subscription. However,
                 * UPnP device architecture specification requires all the
-                * evented variables to be included, so generate a dummy event
+                * evented variables to be included, so generate a stub event
                 * for this particular case using a WSC_ACK and all-zeros
                 * nonces. The ER (UPnP control point) will ignore this, but at
                 * least it will learn that WLANEvent variable will be used in
index 1c494f77309f68db10bba9b2268d8a8eb970c263..fefe5145ff0b2df2eec583c30c68fd6c181c25f5 100644 (file)
@@ -3,7 +3,7 @@
 # 4.3.20 Test Set 20. SQN is the last used SQN value.
 # These values can be used for both UMTS (EAP-AKA) and GSM (EAP-SIM)
 # authentication. In case of GSM/EAP-SIM, AMF and SQN values are not used, but
-# dummy values will need to be included in this file.
+# stub values will need to be included in this file.
 
 # IMSI Ki OPc AMF SQN
 232010000000000 90dca4eda45b53cf0f12d7c9c3bc6a89 cb9cccc4b9258e6dca4760379fb82581 61df 000000000000
index 9d4a933fe729015922c8797532a3de60d6df25f3..8ba7ce43d5c7692b08a052d194180ee8fd6eaea1 100755 (executable)
@@ -53,7 +53,7 @@ ln -s /proc/self/fd/2 /dev/stderr
 
 echo "VM has started up" > /dev/ttyS0
 
-# create dummy sudo - everything runs as uid 0
+# create stub sudo - everything runs as uid 0
 mkdir /tmp/bin
 cat > /tmp/bin/sudo << EOF
 #!/bin/bash
index d5e10debf3e07e8e1f4290c7122a5ddebc9baa4b..e754f5ff928e12c0e7734ee4df346967003aa9af 100644 (file)
@@ -703,7 +703,7 @@ static void rx_data_eapol_key_3_of_4(struct wlantest *wt, const u8 *dst,
                            decrypted, decrypted_len);
        }
        if ((wt->write_pcap_dumper || wt->pcapng) && decrypted != key_data) {
-               /* Fill in a dummy Data frame header */
+               /* Fill in a stub Data frame header */
                u8 buf[24 + 8 + sizeof(*eapol) + sizeof(*hdr) + 64];
                struct ieee80211_hdr *h;
                struct wpa_eapol_key *k;
@@ -926,7 +926,7 @@ static void rx_data_eapol_key_1_of_2(struct wlantest *wt, const u8 *dst,
        wpa_hexdump(MSG_DEBUG, "Decrypted EAPOL-Key Key Data",
                    decrypted, decrypted_len);
        if (wt->write_pcap_dumper || wt->pcapng) {
-               /* Fill in a dummy Data frame header */
+               /* Fill in a stub Data frame header */
                u8 buf[24 + 8 + sizeof(*eapol) + sizeof(*hdr) + 64];
                struct ieee80211_hdr *h;
                struct wpa_eapol_key *k;
index 2aac28fa3d172c536c142b560fb40ed08e6ba2fb..0bc977e3961b037c7906893977fa2f8bad1e667f 100644 (file)
@@ -5,7 +5,7 @@
  * This software may be distributed under the terms of the BSD license.
  * See README for more details.
  *
- * This file implements dummy example of a configuration backend. None of the
+ * This file implements stub example of a configuration backend. None of the
  * functions are actually implemented so this can be used as a simple
  * compilation test or a starting point for a new configuration backend.
  */