diff options
author | Steve French <sfrench@us.ibm.com> | 2012-01-19 08:32:33 +0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2012-01-19 08:32:33 +0400 |
commit | acbbb76a26648dfae6fed0989879e40d75692bfc (patch) | |
tree | 509620f02e6d86444ea426bc188ba943381e5815 /fs/cifs/smbencrypt.c | |
parent | c56001879bc091eee0c7a8e6e94ea0bea63c3012 (diff) | |
download | linux-acbbb76a26648dfae6fed0989879e40d75692bfc.tar.xz |
CIFS: Rename *UCS* functions to *UTF16*
to reflect the unicode encoding used by CIFS protocol.
Signed-off-by: Pavel Shilovsky <piastry@etersoft.ru>
Acked-by: Jeff Layton <jlayton@samba.org>
Reviewed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Diffstat (limited to 'fs/cifs/smbencrypt.c')
-rw-r--r-- | fs/cifs/smbencrypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/smbencrypt.c b/fs/cifs/smbencrypt.c index 80d850881938..d5cd9aa7eacc 100644 --- a/fs/cifs/smbencrypt.c +++ b/fs/cifs/smbencrypt.c @@ -213,7 +213,7 @@ E_md4hash(const unsigned char *passwd, unsigned char *p16, /* Password cannot be longer than 128 characters */ if (passwd) /* Password must be converted to NT unicode */ - len = cifs_strtoUCS(wpwd, passwd, 128, codepage); + len = cifs_strtoUTF16(wpwd, passwd, 128, codepage); else { len = 0; *wpwd = 0; /* Ensure string is null terminated */ |