diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-06-07 12:41:04 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-06-07 12:41:04 +0000 |
commit | d5154cb241e38106994a76806f7968619b5ec270 (patch) | |
tree | 231a1c77f5f7705bb5546e118ca086a83b2ce0c0 /source3/libsmb/smbencrypt.c | |
parent | 19c0588ea1613ae251e83c7064747fb4d0f61f04 (diff) | |
download | samba-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.c | 2 |
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]; |