Skip to content

Commit

Permalink
Use gofork for encoding/asn1 to fix ASN errors during Kerberos authen…
Browse files Browse the repository at this point in the history
…tication
  • Loading branch information
ozzieba authored and obenami-clgx committed May 4, 2021
1 parent 16dacfe commit b4b259d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require (
github.com/eapache/queue v1.1.0
github.com/fortytw2/leaktest v1.3.0
github.com/frankban/quicktest v1.11.3 // indirect
github.com/jcmturner/gofork v1.0.0
github.com/jcmturner/gokrb5/v8 v8.4.2
github.com/klauspost/compress v1.12.2
github.com/kr/text v0.2.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion gssapi_kerberos.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package sarama

import (
"encoding/asn1"
"encoding/binary"
"errors"
"fmt"
Expand All @@ -10,6 +9,7 @@ import (
"strings"
"time"

"github.com/jcmturner/gofork/encoding/asn1"
"github.com/jcmturner/gokrb5/v8/asn1tools"
"github.com/jcmturner/gokrb5/v8/gssapi"
"github.com/jcmturner/gokrb5/v8/iana/chksumtype"
Expand Down

0 comments on commit b4b259d

Please sign in to comment.