From 4753463456760d7464b78e0e66e98d7eee301bcf Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Wed, 14 Jun 2017 10:49:10 -0400 Subject: 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 --- epan/dissectors/packet-lorawan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan') 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) { -- cgit v1.2.3