diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-06-15 02:57:10 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-06-15 09:57:47 +0000 |
commit | b62346b3040fe4ee6cebb7e5a3f1894d9ab767cc (patch) | |
tree | f5888b38d8a70ecdbfd7e73f6efe26db7eaa37f3 /epan/dissectors/packet-lorawan.c | |
parent | ee0dde474c20afb4c493441400926ad7924ca458 (diff) |
Add a comment indicating what releasw we're testring for.
This makes those tests more like other such tests.
Change-Id: Ide920d4083f6092ce5892adf4fc178236c49729f
Reviewed-on: https://code.wireshark.org/review/22150
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-lorawan.c')
-rw-r--r-- | epan/dissectors/packet-lorawan.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-lorawan.c b/epan/dissectors/packet-lorawan.c index edfca354f0..2e50ff632d 100644 --- a/epan/dissectors/packet-lorawan.c +++ b/epan/dissectors/packet-lorawan.c @@ -655,7 +655,7 @@ dissect_lorawan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *d guint8 fport; guint32 dev_address; guint32 fcnt; -#if GCRYPT_VERSION_NUMBER >= 0x010600 +#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */ proto_item *checksum_item; #endif gboolean uplink = TRUE; @@ -692,7 +692,7 @@ dissect_lorawan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *d * cmac = aes128_cmac(AppKey, msg) * MIC = cmac[0..3] */ -#if GCRYPT_VERSION_NUMBER >= 0x010600 +#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */ encryption_keys = get_encryption_keys_app_eui(tvb_get_ptr(tvb, current_offset - 18, 8)); if (encryption_keys) { proto_tree_add_checksum(lorawan_tree, tvb, current_offset, hf_lorawan_mic_type, hf_lorawan_mic_status_type, &ei_lorawan_mic, pinfo, @@ -729,7 +729,7 @@ dissect_lorawan(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree _U_, void *d * cmac = aes128_cmac(AppKey, msg) * MIC = cmac[0..3] */ -#if GCRYPT_VERSION_NUMBER >= 0x010600 +#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */ encryption_keys = get_encryption_keys_dev_address(dev_address); if (encryption_keys) { proto_tree_add_checksum(lorawan_tree, tvb, current_offset, hf_lorawan_mic_type, hf_lorawan_mic_status_type, &ei_lorawan_mic, pinfo, calculate_mic(tvb_get_ptr(tvb, 0, current_offset), current_offset, encryption_keys->appskey->data), ENC_LITTLE_ENDIAN, PROTO_CHECKSUM_VERIFY); |