packet-btmesh: fix build without GCRYPT

This commit is contained in:
Lin Sun 2021-10-11 00:05:37 +00:00 committed by Wireshark GitLab Utility
parent 5481bffa5c
commit fdd1a82ed9
1 changed files with 2 additions and 1 deletions

View File

@ -2540,7 +2540,7 @@ static const value_string btmesh_properties_vals[] = {
{ PROPERTY_OUTPUT_CURRENT_PERCENT , "Output Current Percent" },
{ 0, NULL }
};
#if GCRYPT_VERSION_NUMBER >= 0x010600 /* 1.6.0 */
static const btmesh_properties_t btmesh_properties[] = {
{ PROPERTY_ACTIVE_ENERGY_LOADSIDE , CHARACTERISTIC_ENERGY32 },
{ PROPERTY_ACTIVE_POWER_LOADSIDE , CHARACTERISTIC_POWER },
@ -2810,6 +2810,7 @@ static const bt_gatt_characteristic_t bt_gatt_characteristics[] = {
{ CHARACTERISTIC_WIND_CHILL , 1, NULL },
{ 0, 0, NULL},
};
#endif /* GCRYPT_VERSION_NUMBER >= 0x010600 */
/* Upper Transport Message reassembly */