Skip to content

Commit

Permalink
cryptobyte/asn1.go: Fix typo 'octects' into 'octets'.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Josefsson <[email protected]>
  • Loading branch information
jas4711 committed Feb 3, 2025
1 parent fa5273e commit e42f734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cryptobyte/asn1.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) {
// Identifiers with the low five bits set indicate high-tag-number format
// (two or more octets), which we don't support.
if tag&0x1f == 0x1f {
b.err = fmt.Errorf("cryptobyte: high-tag number identifier octects not supported: 0x%x", tag)
b.err = fmt.Errorf("cryptobyte: high-tag number identifier octets not supported: 0x%x", tag)
return
}
b.AddUint8(uint8(tag))
Expand Down

0 comments on commit e42f734

Please sign in to comment.