diff options
author | Jeremy Allison <jra@samba.org> | 1998-04-20 22:43:54 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-04-20 22:43:54 +0000 |
commit | efb71742ca8ff9ec3211c5b3cf5d311fdceecd1c (patch) | |
tree | a153db84a0a571cbe2e49d591025e5c4659a3676 /source3/include/proto.h | |
parent | ec6fde99ab739ff2c410e5459bba06b06d18b5dc (diff) | |
download | samba-efb71742ca8ff9ec3211c5b3cf5d311fdceecd1c.tar.gz samba-efb71742ca8ff9ec3211c5b3cf5d311fdceecd1c.tar.bz2 samba-efb71742ca8ff9ec3211c5b3cf5d311fdceecd1c.zip |
Makefile: Added genrand.o
clientgen.c: Changed to fill change password buffer with random stuff.
password.c: Changed to get challenge from genrand.c
server.c: Added #ifdef around O_SYNC.
version.h: Changed to 1.9.19prealpha.
genrand.c:
New code to generate (hopefully) good random numbers for
use in crypto challenges/session keys etc.
PLEASE REVIEW THIS CODE AND SUGGEST IMPROVEMENTS !!!!!!
Jeremy.
(This used to be commit 608e98546392fd0aac9b33f4feac43615dbb4405)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 539ddc2ae5..e57f7924ee 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -187,6 +187,10 @@ void DirCacheFlush( int snum ); void fault_setup(void (*fn)(void *)); +/*The following definitions come from genrand.c */ + +void generate_random_buffer( unsigned char *out, int len, BOOL re_seed); + /*The following definitions come from getsmbpass.c */ char *getsmbpass(char *prompt) ; |