diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 10:05:48 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 10:05:48 +0200 |
commit | 7275952568bbf003299d895b71b246f75851db93 (patch) | |
tree | 7ec15c35176685b8a486ae86055b6de36423ca2f /source3/include | |
parent | b1a1fbcbfb8f7d9b09bd26407ca4185b2cb4a0e3 (diff) | |
download | samba-7275952568bbf003299d895b71b246f75851db93.tar.gz samba-7275952568bbf003299d895b71b246f75851db93.tar.bz2 samba-7275952568bbf003299d895b71b246f75851db93.zip |
Add TALLOC_CTX pointer to generate_random_str(), for consistency with
Samba 4.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index ba84574653..8cf960b63a 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -578,7 +578,7 @@ void gencache_unlock_entry( const char *key ); void set_rand_reseed_callback(void (*fn)(int *)); void set_need_random_reseed(void); void generate_random_buffer( unsigned char *out, int len); -char *generate_random_str(size_t len); +char *generate_random_str(TALLOC_CTX *mem_ctx, size_t len); /* The following definitions come from lib/iconv.c */ |