aboutsummaryrefslogtreecommitdiffstats
path: root/epan/crypt
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2019-05-26 18:23:43 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2019-05-26 19:04:36 +0000
commit72cd130f01bfaad5feb620b767d115d7e70e3074 (patch)
tree22266999ea607d8a351ff19afa95b88bcfd490d4 /epan/crypt
parente08937ac4466abbe9d6f883fb22134cb2cd364a9 (diff)
dot11decrypt: fix a used-but-marked-unused warning
dot11decrypt.c:1686:46: error: 'group_cipher' was marked unused but was used &group_cipher, &cipher, &akm); Change-Id: Ie7b9eba44eaf9bf160ca6eb6bb7373b7ba3fd8cb Reviewed-on: https://code.wireshark.org/review/33371 Reviewed-by: Martin Kaiser <wireshark@kaiser.cx> Petri-Dish: Martin Kaiser <wireshark@kaiser.cx> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/crypt')
-rw-r--r--epan/crypt/dot11decrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/crypt/dot11decrypt.c b/epan/crypt/dot11decrypt.c
index da84689d43..246a54ba8e 100644
--- a/epan/crypt/dot11decrypt.c
+++ b/epan/crypt/dot11decrypt.c
@@ -1680,7 +1680,7 @@ Dot11DecryptRsna4WHandshake(
if (key_version == 0) {
/* PTK derivation is based on Authentication Key Management Type */
- int _U_ group_cipher = -1;
+ int group_cipher = -1;
Dot11DecryptGetRsne((const EAPOL_RSN_KEY *)(data + offset - 1),
tot_len - (offset - 1),
&group_cipher, &cipher, &akm);