1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

r8112: Remove extra headers, and add #ifdef to allow the 'not yet using

Heimdal' case.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2005-07-04 03:34:56 +00:00 committed by Gerald (Jerry) Carter
parent f21274e07b
commit b7c3c2f671

View File

@ -23,12 +23,11 @@
#include "includes.h"
#include "system/kerberos.h"
#include "system/time.h"
#include "system/network.h"
#include "auth/auth.h"
#include "auth/kerberos/kerberos.h"
#include "librpc/gen_ndr/ndr_krb5pac.h"
#include "auth/auth.h"
#ifdef HAVE_KRB5
static BOOL torture_pac_self_check(void)
{
@ -251,3 +250,14 @@ BOOL torture_pac(void)
ret &= torture_pac_saved_check();
return ret;
}
#else
BOOL torture_pac(void)
{
printf("Cannot do PAC test without Krb5\n");
return False;
}
#endif