Skip to content

Commit a7c450c

Browse files
Merge pull request #2 from veraison/cbor-tag-range-fix
Fix CBOR tag range
2 parents 589b768 + 142411c commit a7c450c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmw.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func sniff(b []byte) Serialization {
134134

135135
if b[0] == 0x82 || b[0] == 0x83 {
136136
return CBORArray
137-
} else if b[0] >= 0xc0 && b[0] <= 0xdf {
137+
} else if b[0] >= 0xc0 && b[0] <= 0xdb {
138138
return CBORTag
139139
} else if b[0] == 0x5b {
140140
return JSONArray

0 commit comments

Comments
 (0)