diff options
author | Lin Sun <sunlin7@yahoo.com> | 2021-10-11 00:05:37 +0000 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-10-11 19:10:41 +0000 |
commit | fdd1a82ed95852dc77acabd2596a3b28ae76a2f1 (patch) | |
tree | 508af67e207c070d5ffbd4ac8f96713a36e9f4c2 | |
parent | 5481bffa5cf6f7254fa0a533f15fbea93d0251e7 (diff) |
packet-btmesh: fix build without GCRYPT
-rw-r--r-- | epan/dissectors/packet-btmesh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btmesh.c b/epan/dissectors/packet-btmesh.c index e6ccd45333..3eb6348e7a 100644 --- a/epan/dissectors/packet-btmesh.c +++ b/epan/dissectors/packet-btmesh.c @@ -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 */ |