Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

Commit

Permalink
packet-btmesh: fix build without GCRYPT
Browse files Browse the repository at this point in the history
(cherry picked from commit fdd1a82)
  • Loading branch information
Lin Sun authored and Wireshark GitLab Utility committed Oct 19, 2021
1 parent 6ae51bc commit 96ad0d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion epan/dissectors/packet-btmesh.c
Original file line number Diff line number Diff line change
@@ -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 */

0 comments on commit 96ad0d2

Please sign in to comment.