|
|
@@ -29,7 +29,7 @@ type NegState int
|
|
|
// NegTokenInit implements Negotiation Token of type Init.
|
|
|
type NegTokenInit struct {
|
|
|
MechTypes []asn1.ObjectIdentifier
|
|
|
- ReqFlags gssapi.ContextFlags
|
|
|
+ ReqFlags asn1.BitString
|
|
|
MechTokenBytes []byte
|
|
|
MechListMIC []byte
|
|
|
mechToken gssapi.ContextToken
|
|
|
@@ -38,7 +38,7 @@ type NegTokenInit struct {
|
|
|
|
|
|
type marshalNegTokenInit struct {
|
|
|
MechTypes []asn1.ObjectIdentifier `asn1:"explicit,tag:0"`
|
|
|
- ReqFlags gssapi.ContextFlags `asn1:"explicit,optional,tag:1"`
|
|
|
+ ReqFlags asn1.BitString `asn1:"explicit,optional,tag:1"`
|
|
|
MechTokenBytes []byte `asn1:"explicit,optional,omitempty,tag:2"`
|
|
|
MechListMIC []byte `asn1:"explicit,optional,omitempty,tag:3"` // This field is not used when negotiating Kerberos tokens
|
|
|
}
|