Fix the build.
[abartlet/samba.git/.git] / source4 / torture / smbtorture.c
index bfe6d0503d7c8a0e64bfa74d5ee40cf6eb20c594..0c2c8c0f6bbcd4e463d96fa1a0d436ed4113ba3e 100644 (file)
@@ -33,6 +33,7 @@
 #include "torture/smbtorture.h"
 #include "../lib/util/dlinklist.h"
 #include "librpc/rpc/dcerpc.h"
+#include "auth/gensec/gensec.h"
 #include "param/param.h"
 
 #include "auth/credentials/credentials.h"
@@ -648,6 +649,8 @@ int main(int argc,char *argv[])
 
        torture->lp_ctx = cmdline_lp_ctx;
 
+       gensec_init(cmdline_lp_ctx);
+
        if (argc_new == 0) {
                printf("You must specify a test to run, or 'ALL'\n");
        } else if (shell) {