diff --git a/CMakeLists.txt b/CMakeLists.txt index dd332d0..41f0944 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,10 +1,11 @@ +cmake_minimum_required(VERSION 3.10) cmake_policy(VERSION 3.10) + project( dtn-wireshark LANGUAGES C CXX VERSION 0.0 ) -cmake_minimum_required(VERSION 3.10) set(CMAKE_C_STANDARD 11) set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "Build type") diff --git a/src/packet-bpsec-cose.c b/src/packet-bpsec-cose.c index 4039227..209cd5d 100644 --- a/src/packet-bpsec-cose.c +++ b/src/packet-bpsec-cose.c @@ -94,6 +94,7 @@ static int dissect_param_scope(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tr proto_tree_add_cbor_bitmask(tree_blknum, hf_aad_flags, ett_aad_flags, aad_flags, pinfo, tvb, chunk_flags, flags); } } + proto_item_set_len(item_aad_map, offset); return offset; }