Skip to content

Commit d0a798f

Browse files
jas4711rolandshoemaker
authored andcommitted
cryptobyte: fix typo 'octects' into 'octets' for asn1.go
This typo ends up into lots of executables that trigger 'codespell'-style linter checks. Change-Id: I2a7e3a6597272ca7c97ebddc54c5eef4cb5cab88 GitHub-Last-Rev: e42f734 GitHub-Pull-Request: #310 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/646375 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org>
1 parent acbcbef commit d0a798f

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)