mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
style
This commit is contained in:
parent
ebe98723d4
commit
2b3e5b7aac
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ unsigned char *tlv_encode(const struct tlv *tlv, size_t *len) {
|
|||
}
|
||||
|
||||
bool tlv_is_constructed(const struct tlv *tlv) {
|
||||
return (tlv->tag < 0x100 ? tlv->tag : tlv->tag >> 8) & TLV_TAG_COMPLEX;
|
||||
return (((tlv->tag < 0x100 ? tlv->tag : tlv->tag >> 8) & TLV_TAG_COMPLEX) == TLV_TAG_COMPLEX);
|
||||
}
|
||||
|
||||
bool tlv_equal(const struct tlv *a, const struct tlv *b) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue