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>
This commit is contained in:
Michael Mann 2017-06-14 10:49:10 -04:00
parent d45f6661d7
commit 4753463456
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{