Skip to content

Commit e42f734

Browse files
committed
cryptobyte/asn1.go: Fix typo 'octects' into 'octets'.
Signed-off-by: Simon Josefsson <[email protected]>
1 parent fa5273e commit e42f734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cryptobyte/asn1.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (b *Builder) AddASN1(tag asn1.Tag, f BuilderContinuation) {
234234
// Identifiers with the low five bits set indicate high-tag-number format
235235
// (two or more octets), which we don't support.
236236
if tag&0x1f == 0x1f {
237-
b.err = fmt.Errorf("cryptobyte: high-tag number identifier octects not supported: 0x%x", tag)
237+
b.err = fmt.Errorf("cryptobyte: high-tag number identifier octets not supported: 0x%x", tag)
238238
return
239239
}
240240
b.AddUint8(uint8(tag))

0 commit comments

Comments
 (0)