--- a/jdk/src/share/classes/sun/security/jgss/spnego/SpNegoContext.java Tue Oct 29 16:35:20 2013 +0400
+++ b/jdk/src/share/classes/sun/security/jgss/spnego/SpNegoContext.java Tue Oct 29 17:01:06 2013 +0400
@@ -541,7 +541,7 @@
if (mech_wanted == null) {
valid = false;
}
- // save the desired mechansim
+ // save the desired mechanism
internal_mech = mech_wanted;
// get the token for mechanism
@@ -741,7 +741,7 @@
return null;
}
- // check if mechansim supports integrity
+ // check if mechanism supports integrity
if (!mechContext.getIntegState()) {
if (DEBUG) {
System.out.println("SpNegoContext: no MIC token included" +
@@ -783,7 +783,7 @@
return true;
}
- // check if mechansim supports integrity
+ // check if mechanism supports integrity
if (!mechContext.getIntegState()) {
if (DEBUG) {
System.out.println("SpNegoContext: no MIC token validation" +