summaryrefslogtreecommitdiff
path: root/source4/torture/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/auth')
-rw-r--r--source4/torture/auth/ntlmssp.c3
-rw-r--r--source4/torture/auth/pac.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/source4/torture/auth/ntlmssp.c b/source4/torture/auth/ntlmssp.c
index c012ee5174..762db3d6ba 100644
--- a/source4/torture/auth/ntlmssp.c
+++ b/source4/torture/auth/ntlmssp.c
@@ -22,8 +22,9 @@
#include "auth/auth.h"
#include "auth/ntlmssp/ntlmssp.h"
#include "lib/cmdline/popt_common.h"
+#include "torture/torture.h"
-BOOL torture_ntlmssp_self_check(void)
+BOOL torture_ntlmssp_self_check(struct torture_context *torture)
{
struct gensec_security *gensec_security;
struct gensec_ntlmssp_state *gensec_ntlmssp_state;
diff --git a/source4/torture/auth/pac.c b/source4/torture/auth/pac.c
index 2c5387391b..964dc822fb 100644
--- a/source4/torture/auth/pac.c
+++ b/source4/torture/auth/pac.c
@@ -29,6 +29,7 @@
#include "samba3/samba3.h"
#include "libcli/security/proto.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "torture/torture.h"
static BOOL torture_pac_self_check(void)
{
@@ -693,7 +694,7 @@ static BOOL torture_pac_saved_check(void)
return True;
}
-BOOL torture_pac(void)
+BOOL torture_pac(struct torture_context *torture)
{
BOOL ret = True;
ret &= torture_pac_self_check();