summaryrefslogtreecommitdiffstats
path: root/source4/libcli/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-22 04:25:00 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-22 04:25:00 +0200
commit6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3 (patch)
tree90837f51cf6a3d5d651172c66fef8c7a0bf477fe /source4/libcli/auth
parent7a683618e79acef94235ff4adee275c462559ab5 (diff)
downloadsamba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.tar.gz
samba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.tar.xz
samba-6d9b24de782b04466ca3c1ce6f6e82d54e93d2f3.zip
Remove pstring usages.
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r--source4/libcli/auth/smbencrypt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/libcli/auth/smbencrypt.c b/source4/libcli/auth/smbencrypt.c
index 096f51e49b..54daf19a12 100644
--- a/source4/libcli/auth/smbencrypt.c
+++ b/source4/libcli/auth/smbencrypt.c
@@ -27,7 +27,6 @@
#include "auth/ntlmssp/msrpc_parse.h"
#include "../lib/crypto/crypto.h"
#include "libcli/auth/libcli_auth.h"
-#include "pstring.h"
#include "param/param.h"
/*
@@ -94,7 +93,7 @@ bool E_md4hash(const char *passwd, uint8_t p16[16])
bool E_deshash(const char *passwd, uint8_t p16[16])
{
bool ret = true;
- fstring dospwd;
+ char dospwd[20];
ZERO_STRUCT(dospwd);
/* Password must be converted to DOS charset - null terminated, uppercase. */