~ubuntu-branches/ubuntu/quantal/linux-lowlatency/quantal-proposed

« back to all changes in this revision

Viewing changes to fs/cifs/smbencrypt.c

  • Committer: Package Import Robot
  • Author(s): Andy Whitcroft, Andy Whitcroft
  • Date: 2012-06-21 09:16:38 UTC
  • Revision ID: package-import@ubuntu.com-20120621091638-gubhv4nox8xez1ct
Tags: 3.5.0-1.1
[ Andy Whitcroft]

* Rebuild lowlatency against Ubuntu-3.5.0-1.1
* All new configuration system to allow configuration deltas to be
  exposed via debian.lowlatency/config-delta

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
 
214
214
        /* Password cannot be longer than 128 characters */
215
215
        if (passwd) /* Password must be converted to NT unicode */
216
 
                len = cifs_strtoUCS(wpwd, passwd, 128, codepage);
 
216
                len = cifs_strtoUTF16(wpwd, passwd, 128, codepage);
217
217
        else {
218
218
                len = 0;
219
219
                *wpwd = 0; /* Ensure string is null terminated */