diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-12-26 10:53:56 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-12-28 22:39:19 +1100 |
commit | 4b7b26e3c05f0fe38fe6c843df48d665db75c0f6 (patch) | |
tree | ce44a33eab44ae84e7df4c5a995882ce746730fa /lib/param | |
parent | 1364eb7bd7e7e6035b8a8cf4da46481f3d1460f0 (diff) | |
download | samba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.tar.gz samba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.tar.bz2 samba-4b7b26e3c05f0fe38fe6c843df48d665db75c0f6.zip |
gensec: Allow an alternate set of modules to be specified
This will allow s3 to specify modules to use as a list, rather than
needing to start the individual module with gensec_start_mech_by_ops()
Andrew Bartlett
Diffstat (limited to 'lib/param')
-rw-r--r-- | lib/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 006fa8a6c1..949c404bf1 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -3727,7 +3727,7 @@ _PUBLIC_ char *lpcfg_tls_dhpfile(TALLOC_CTX *mem_ctx, struct loadparm_context *l struct gensec_settings *lpcfg_gensec_settings(TALLOC_CTX *mem_ctx, struct loadparm_context *lp_ctx) { - struct gensec_settings *settings = talloc(mem_ctx, struct gensec_settings); + struct gensec_settings *settings = talloc_zero(mem_ctx, struct gensec_settings); if (settings == NULL) return NULL; SMB_ASSERT(lp_ctx != NULL); |