diff options
author | Harald Welte <laforge@gnumonks.org> | 2018-07-28 21:37:06 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-03-19 13:41:49 +0000 |
commit | 1261db15058cfa94615f26c1083bb8a38d09218b (patch) | |
tree | a7d7e6e45b0429c961da919168bb185e9cd5cf7d /tests/a5 | |
parent | fb6f43ee0c6a288e036ca616a29f6b7485d426c6 (diff) |
ipa_ccm_idtag_parse*: Fix reported length value
IPA CCM is using a somewhat weird TLV encoding scheme:
* 16bit length (of tag and value)
* 8bit tag
* value
Our existing code mapping the CCM to 'struct tlv_parse' used the plain
length value without accounting for the one-byte tag.
This patch ensures we only report the length of the "value" part,
excluding the tag.
Change-Id: I435aaa33605bd48635715a2c81aa2d231c1abf51
Diffstat (limited to 'tests/a5')
0 files changed, 0 insertions, 0 deletions