summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-07-20 13:01:04 -0400
committerSimo Sorce <simo@redhat.com>2013-07-28 13:17:51 -0400
commitb523d7877fe2d8391dbc0f0f61d9965fe26423f7 (patch)
tree5b5e2d280b2249a58917873b0672614489f8e886
parente571bfd6742fe9c0dfd865927adddd619066dffb (diff)
downloadgss-ntlmssp-b523d7877fe2d8391dbc0f0f61d9965fe26423f7.tar.gz
gss-ntlmssp-b523d7877fe2d8391dbc0f0f61d9965fe26423f7.tar.xz
gss-ntlmssp-b523d7877fe2d8391dbc0f0f61d9965fe26423f7.zip
Fix some comments
-rw-r--r--src/gss_creds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gss_creds.c b/src/gss_creds.c
index dc404c7..9b7b467 100644
--- a/src/gss_creds.c
+++ b/src/gss_creds.c
@@ -62,7 +62,7 @@ static int get_initial_creds(struct gssntlm_name *name,
pwd = p;
strsep(&p, "\r\n");
- /* if no name is specified user the first found */
+ /* if no name is specified use the first found */
if (name == NULL) {
found = true;
break;
@@ -106,8 +106,7 @@ static int get_initial_creds(struct gssntlm_name *name,
if (envvar != NULL) {
cred->lm_compatibility_level = atoi(envvar);
} else {
- /* use most secure defaults for now, we can add options to
- * relax security later */
+ /* use the most secure setting by default */
cred->lm_compatibility_level = SEC_LEVEL_MAX;
}