Skip to content

Commit

Permalink
Don't send selectedMech in SPNEGO follow ups
Browse files Browse the repository at this point in the history
  • Loading branch information
mbechler committed Mar 4, 2018
1 parent 4b29acf commit 27c7c06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/jcifs/smb/SpnegoContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ else if ( targ.getResult() == NegTokenTarg.REJECTED ) {
return null;
}

return new NegTokenTarg(NegTokenTarg.UNSPECIFIED_RESULT, this.selectedMech, responseToken, mechMIC);
return new NegTokenTarg(NegTokenTarg.UNSPECIFIED_RESULT, null, responseToken, mechMIC);
}


Expand Down

0 comments on commit 27c7c06

Please sign in to comment.