aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-06-14 10:49:10 -0400
committerMichael Mann <mmann78@netscape.net>2017-06-14 14:52:44 +0000
commit4753463456760d7464b78e0e66e98d7eee301bcf (patch)
tree3eddf29a1fd3efdcd514aa1dca5c4ffc65c6a07c /epan
parentd45f6661d750617dfc1f6670854056ad31613c5e (diff)
packet-lorawan.c: get_encryption_keys_app_eui must be included in GCRYPT_VERSION_NUMBER check
Change-Id: I35d4ab99690839c3999e3fb5b471027271a81042 Reviewed-on: https://code.wireshark.org/review/22132 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-lorawan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-lorawan.c b/epan/dissectors/packet-lorawan.c
index 909e532eb2..edfca354f0 100644
--- a/epan/dissectors/packet-lorawan.c
+++ b/epan/dissectors/packet-lorawan.c
@@ -413,6 +413,7 @@ static device_encryption_keys_t *get_encryption_keys_dev_address(guint32 dev_add
return NULL;
}
+#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */
static device_encryption_keys_t *get_encryption_keys_app_eui(const guint8 *appeui)
{
guint i;
@@ -426,7 +427,6 @@ static device_encryption_keys_t *get_encryption_keys_app_eui(const guint8 *appeu
return NULL;
}
-#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */
static guint32
calculate_mic(const guint8 *in, guint8 length, const guint8 *key)
{