Skip to content

Commit

Permalink
Merge pull request #1933 from ozzieba/revert-removing-of-fork-for-asn1
Browse files Browse the repository at this point in the history
Use gofork for encoding/asn1 to fix ASN errors during Kerberos authentication
  • Loading branch information
dnwe authored May 5, 2021
2 parents ae85104 + b4b259d commit 66d5c44
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 66d5c44

Please sign in to comment.