summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/backupkey/dcesrv_backupkey.c9
-rwxr-xr-xsource4/rpc_server/wscript_build2
-rw-r--r--source4/torture/rpc/backupkey.c6
3 files changed, 12 insertions, 5 deletions
diff --git a/source4/rpc_server/backupkey/dcesrv_backupkey.c b/source4/rpc_server/backupkey/dcesrv_backupkey.c
index 611837f0e3..035294cd7e 100644
--- a/source4/rpc_server/backupkey/dcesrv_backupkey.c
+++ b/source4/rpc_server/backupkey/dcesrv_backupkey.c
@@ -28,9 +28,12 @@
#include "../lib/util/util_ldb.h"
#include "param/param.h"
#include "auth/session.h"
-#include "heimdal/lib/hx509/hx_locl.h"
-#include "heimdal/lib/hcrypto/rsa.h"
-#include "heimdal/lib/hcrypto/bn.h"
+#include "system/network.h"
+#include <hx509.h>
+#include <hcrypto/rsa.h>
+#include <hcrypto/bn.h>
+#include <hcrypto/sha.h>
+#include <der.h>
#include "../lib/tsocket/tsocket.h"
#include "../libcli/security/security.h"
diff --git a/source4/rpc_server/wscript_build b/source4/rpc_server/wscript_build
index f1d3c0db90..127e396f6c 100755
--- a/source4/rpc_server/wscript_build
+++ b/source4/rpc_server/wscript_build
@@ -102,7 +102,7 @@ bld.SAMBA_MODULE('dcerpc_backupkey',
autoproto='backupkey/proto.h',
subsystem='dcerpc_server',
init_function='dcerpc_server_backupkey_init',
- deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY'
+ deps='samdb DCERPC_COMMON NDR_BACKUPKEY RPC_NDR_BACKUPKEY krb5 hx509 hcrypto'
)
diff --git a/source4/torture/rpc/backupkey.c b/source4/torture/rpc/backupkey.c
index 0f389462e1..a18d7a16c1 100644
--- a/source4/torture/rpc/backupkey.c
+++ b/source4/torture/rpc/backupkey.c
@@ -25,7 +25,11 @@
#include "librpc/gen_ndr/ndr_lsa_c.h"
#include "torture/rpc/torture_rpc.h"
#include "lib/cmdline/popt_common.h"
-#include "heimdal/lib/hx509/hx_locl.h"
+#include <hcrypto/sha.h>
+#include <system/network.h>
+#include <hx509.h>
+#include <der.h>
+
/* Our very special and valued secret */
/* No need to put const as we cast the array in uint8_t