From c6d16eea4394ff1c4d12cb435eebb0686b5ee736 Mon Sep 17 00:00:00 2001
From: Luke Leighton <lkcl@samba.org>
Date: Thu, 11 Feb 1999 18:50:13 +0000
Subject: the UNICODE issue... (This used to be commit
 73db80f34183324845407b00f58462ff2d7b47ea)

---
 source3/libsmb/clientgen.c  | 2 +-
 source3/libsmb/smbencrypt.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'source3/libsmb')

diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c
index d40c95b9c1..60498c8fb2 100644
--- a/source3/libsmb/clientgen.c
+++ b/source3/libsmb/clientgen.c
@@ -226,7 +226,7 @@ static char *fix_char_ptr(unsigned int datap, unsigned int converter,
 /****************************************************************************
   send a SMB trans or trans2 request
   ****************************************************************************/
-static BOOL cli_send_trans(struct cli_state *cli, int trans, 
+BOOL cli_send_trans(struct cli_state *cli, int trans, 
                            char *name, int pipe_name_len, 
                            int fid, int flags,
                            uint16 *setup, int lsetup, int msetup,
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index dd801e5982..ead34aaa3d 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -209,7 +209,7 @@ BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[
 	generate_random_buffer((unsigned char *)data, 516, False);
 	if (unicode)
 	{
-		struni2( &data[512 - new_pw_len], passwd);
+		str_to_unistr8( &data[512 - new_pw_len], passwd);
 	}
 	else
 	{
-- 
cgit