summaryrefslogtreecommitdiffstats
path: root/source/libsmb/smbdes.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-10 14:48:05 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-10 14:48:05 +0000
commit87a0a944855a673d693d934e446bdc231b1c7f02 (patch)
tree81710fa80476ba705356d0b4d42a47572bb386d7 /source/libsmb/smbdes.c
parent3590a783338defa4ff1385b2d5bb095c5051ac82 (diff)
downloadsamba-87a0a944855a673d693d934e446bdc231b1c7f02.tar.gz
samba-87a0a944855a673d693d934e446bdc231b1c7f02.tar.xz
samba-87a0a944855a673d693d934e446bdc231b1c7f02.zip
Makefile:
added credentials.c to smbd credentials.c: using credential structures instead of char* password.c uid.c server.c: added sid and attr to user_struct. smbdes.c: smbhash and str_to_key make public instead of private. pipes.c smb.h: lsa structures, sub-functions. proto.h: usual.
Diffstat (limited to 'source/libsmb/smbdes.c')
-rw-r--r--source/libsmb/smbdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libsmb/smbdes.c b/source/libsmb/smbdes.c
index 1c38612b739..b62a160418d 100644
--- a/source/libsmb/smbdes.c
+++ b/source/libsmb/smbdes.c
@@ -257,7 +257,7 @@ static void dohash(char *out, char *in, char *key)
permute(out, rl, perm6, 64);
}
-static void str_to_key(unsigned char *str,unsigned char *key)
+void str_to_key(unsigned char *str,unsigned char *key)
{
int i;
@@ -275,7 +275,7 @@ static void str_to_key(unsigned char *str,unsigned char *key)
}
-static void smbhash(unsigned char *out, unsigned char *in, unsigned char *key)
+void smbhash(unsigned char *out, unsigned char *in, unsigned char *key)
{
int i;
char outb[64];