summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsencrypt.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-04-24 07:57:45 -0400
committerSteve French <sfrench@us.ibm.com>2010-04-26 18:55:33 +0000
commit04912d6a20185473db025061b9b2c81fbdffc48b (patch)
treebcebae3f427f4ef3af20f407803bf0a3d31e6733 /fs/cifs/cifsencrypt.c
parentd00c28de55a69d13cf2c6a99efc3e81a5d95af74 (diff)
downloadop-kernel-dev-04912d6a20185473db025061b9b2c81fbdffc48b.zip
op-kernel-dev-04912d6a20185473db025061b9b2c81fbdffc48b.tar.gz
cifs: rename "extended_security" to "global_secflags"
...since that more accurately describes what that variable holds. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsencrypt.c')
-rw-r--r--fs/cifs/cifsencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsencrypt.c b/fs/cifs/cifsencrypt.c
index 61e4152..847628d 100644
--- a/fs/cifs/cifsencrypt.c
+++ b/fs/cifs/cifsencrypt.c
@@ -291,7 +291,7 @@ void calc_lanman_hash(const char *password, const char *cryptkey, bool encrypt,
if (password)
strncpy(password_with_pad, password, CIFS_ENCPWD_SIZE);
- if (!encrypt && extended_security & CIFSSEC_MAY_PLNTXT) {
+ if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) {
memset(lnm_session_key, 0, CIFS_SESS_KEY_SIZE);
memcpy(lnm_session_key, password_with_pad,
CIFS_ENCPWD_SIZE);
OpenPOWER on IntegriCloud