Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Skuratau authored Dec 2, 2021
1 parent f702a53 commit 3da849f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gss/gokrb5.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ func (c *Client) negotiateContext(host string, cl *client.Client) (string, time.
return "", time.Time{}, err
}

apreq, err := spnego.NewKRB5TokenAPREQ(cl, tkt, key, []int{gssapi.ContextFlagMutual, gssapi.ContextFlagReplay, gssapi.ContextFlagInteg}, []int{flags.APOptionMutualRequired})
apreq, err := spnego.NewKRB5TokenAPREQ(cl, tkt, key, []int{gssapi.ContextFlagInteg, gssapi.ContextFlagMutual}, []int{gssapi.ContextFlagMutual})
if err != nil {
return "", time.Time{}, err
}
Expand Down

0 comments on commit 3da849f

Please sign in to comment.