summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/lib/gss_mechs/mech_krb5/krb5/krb/chpw.c3
-rw-r--r--usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/unparse.c2
-rw-r--r--usr/src/uts/common/gssapi/mechs/krb5/mech/k5unseal.c1
3 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/chpw.c b/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/chpw.c
index a97c39dbe3..ba7f562324 100644
--- a/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/chpw.c
+++ b/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/chpw.c
@@ -546,7 +546,8 @@ krb5int_setpw_result_code_string( krb5_context context, int result_code, const c
*code_string = "Initial password required";
break;
case 0:
- *code_string = "Success";
+ *code_string = "Success";
+ break;
default:
*code_string = "Password change failed";
break;
diff --git a/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/unparse.c b/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/unparse.c
index edec335118..99eb271a6e 100644
--- a/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/unparse.c
+++ b/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/unparse.c
@@ -132,7 +132,7 @@ copy_component_quoting(char *dest, const krb5_data *src, int flags)
*q++ = *cp;
break;
}
- /*LINTED*/
+ /* FALLTHROUGH */
case COMPONENT_SEP:
case '\\':
*q++ = '\\';
diff --git a/usr/src/uts/common/gssapi/mechs/krb5/mech/k5unseal.c b/usr/src/uts/common/gssapi/mechs/krb5/mech/k5unseal.c
index 339a209b29..44bc227cba 100644
--- a/usr/src/uts/common/gssapi/mechs/krb5/mech/k5unseal.c
+++ b/usr/src/uts/common/gssapi/mechs/krb5/mech/k5unseal.c
@@ -500,6 +500,7 @@ kg_unseal_v1(context, minor_status, ctx, ptr, bodysize, message_buffer,
code = memcmp(md5cksum.contents, ptr+14, 8);
/* Falls through to defective-token?? */
+ /* FALLTHROUGH */
default:
*minor_status = 0;