Skip to content

Commit

Permalink
Merge pull request #1697 from kvch/revert-removing-for-of-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
d1egoaz committed May 22, 2020
2 parents fb465ba + c033597 commit b5764af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Expand Up @@ -13,7 +13,7 @@ require (
github.com/golang/snappy v0.0.1 // indirect
github.com/google/go-cmp v0.4.0 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/jcmturner/gofork v1.0.0
github.com/klauspost/compress v1.9.8
github.com/kr/pretty v0.2.0 // indirect
github.com/pierrec/lz4 v2.4.1+incompatible
Expand Down
2 changes: 1 addition & 1 deletion gssapi_kerberos.go
@@ -1,13 +1,13 @@
package sarama

import (
"encoding/asn1"
"encoding/binary"
"fmt"
"io"
"strings"
"time"

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

0 comments on commit b5764af

Please sign in to comment.