summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbencrypt.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-07 12:41:04 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-07 12:41:04 +0000
commitd5154cb241e38106994a76806f7968619b5ec270 (patch)
tree231a1c77f5f7705bb5546e118ca086a83b2ce0c0 /source3/libsmb/smbencrypt.c
parent19c0588ea1613ae251e83c7064747fb4d0f61f04 (diff)
downloadsamba-d5154cb241e38106994a76806f7968619b5ec270.tar.gz
samba-d5154cb241e38106994a76806f7968619b5ec270.tar.bz2
samba-d5154cb241e38106994a76806f7968619b5ec270.zip
A couple of updates for the SmbEncrypt code, and some of its users.
(const, takes unix string as arg) Also update cli_full_connection to take NULL pointers as 'undefined' correctly, and therefore do its own lookup etc. This what was intended, but previously you needed to supply a 0.0.0.0 IP address. Andrew Bartlett (This used to be commit 8fb1a9c6ba07dbf04a6aa1e30fa7bbd4c676ed28)
Diffstat (limited to 'source3/libsmb/smbencrypt.c')
-rw-r--r--source3/libsmb/smbencrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c
index c298616220..fa1eaedb5a 100644
--- a/source3/libsmb/smbencrypt.c
+++ b/source3/libsmb/smbencrypt.c
@@ -28,7 +28,7 @@
This implements the X/Open SMB password encryption
It takes a password ('unix' string), a 8 byte "crypt key"
and puts 24 bytes of encrypted password into p24 */
-void SMBencrypt(const uchar *passwd, const uchar *c8, uchar *p24)
+void SMBencrypt(const char *passwd, const uchar *c8, uchar *p24)
{
uchar p21[21];