]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove extra statement terminators
authorSunil Ravi <sunilravi@google.com>
Tue, 4 Feb 2025 18:35:46 +0000 (18:35 +0000)
committerJouni Malinen <j@w1.fi>
Wed, 5 Feb 2025 20:47:56 +0000 (22:47 +0200)
Signed-off-by: Sunil Ravi <sunilravi@google.com>
src/ap/ap_drv_ops.h
src/ap/wpa_auth_kay.c
src/crypto/crypto_wolfssl.c
src/p2p/p2p.c

index cbb8044c35ff374e648c3363b3ec2970eced7acc..b52763628a7d1bd08a1a533bd9962b2bec6ba1f7 100644 (file)
@@ -491,6 +491,6 @@ hostapd_get_multi_hw_info(struct hostapd_data *hapd,
 int hostapd_drv_add_pmkid(struct hostapd_data *hapd,
                          struct wpa_pmkid_params *params);
 int hostapd_add_pmkid(struct hostapd_data *hapd, const u8 *bssid, const u8 *pmk,
-                     size_t pmk_len, const u8 *pmkid, int akmp);;
+                     size_t pmk_len, const u8 *pmkid, int akmp);
 
 #endif /* AP_DRV_OPS */
index 625f4051275029825e1c21b18f2a77c526000756..9902384b0d008b3c6c167e1d8cb649730d019014 100644 (file)
@@ -477,7 +477,7 @@ void * ieee802_1x_create_preshared_mka_hapd(struct hostapd_data *hapd,
        cak->len = hapd->conf->mka_cak_len;
        os_memcpy(cak->key, hapd->conf->mka_cak, cak->len);
 
-       ckn->len = hapd->conf->mka_ckn_len;;
+       ckn->len = hapd->conf->mka_ckn_len;
        os_memcpy(ckn->name, hapd->conf->mka_ckn, ckn->len);
 
        res = ieee802_1x_kay_create_mka(hapd->kay, ckn, cak, 0, PSK, true);
index e1e9155480a23d9ebc7d4faa3aa407d674d7ebba..737f017d7a05982201e0a713bbc8f1aadcf01b97 100644 (file)
@@ -3415,7 +3415,7 @@ const u8 * crypto_csr_get_attribute(struct crypto_csr *csr,
 {
        if (!csr || !len || !type) {
                LOG_INVALID_PARAMETERS();
-               return NULL;;
+               return NULL;
        }
 
        switch (attr) {
index a579cfe2a062db8381be30a5148fdf9fbade13f6..84fd24ee1826c0a527e5c914f41653af9556ba50 100644 (file)
@@ -6058,7 +6058,7 @@ static int p2p_validate_dira(struct p2p_data *p2p, struct p2p_device *dev,
        }
 
        if (p2p->cfg->validate_dira) {
-               const u8 *nonce = &dira[1];;
+               const u8 *nonce = &dira[1];
                const u8 *tag = &dira[1 + DEVICE_IDENTITY_NONCE_LEN];
 
                return p2p->cfg->validate_dira(p2p->cfg->cb_ctx,