31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
|
From 23e2849f8f5b119ebce9cb0aeee098a8c1a388e0 Mon Sep 17 00:00:00 2001
|
||
|
From: Andreas Schneider <asn@samba.org>
|
||
|
Date: Tue, 26 Feb 2019 18:33:09 +0100
|
||
|
Subject: [PATCH 086/187] s4:samdb: Only include necessary header files in
|
||
|
encrypted_secrets
|
||
|
|
||
|
Signed-off-by: Andreas Schneider <asn@samba.org>
|
||
|
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
|
||
|
(cherry picked from commit d46e538d52433f5f30a5696e5b18bc4b82101951)
|
||
|
---
|
||
|
source4/dsdb/samdb/ldb_modules/encrypted_secrets.c | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/source4/dsdb/samdb/ldb_modules/encrypted_secrets.c b/source4/dsdb/samdb/ldb_modules/encrypted_secrets.c
|
||
|
index 5f8cd8747ea..e0932858588 100644
|
||
|
--- a/source4/dsdb/samdb/ldb_modules/encrypted_secrets.c
|
||
|
+++ b/source4/dsdb/samdb/ldb_modules/encrypted_secrets.c
|
||
|
@@ -52,7 +52,8 @@
|
||
|
#endif /* BUILD_WITH_GNUTLS_AEAD */
|
||
|
|
||
|
#ifdef BUILD_WITH_SAMBA_AES_GCM
|
||
|
- #include "lib/crypto/crypto.h"
|
||
|
+ #include "lib/crypto/aes.h"
|
||
|
+ #include "lib/crypto/aes_gcm_128.h"
|
||
|
#endif /* BUILD_WITH_SAMBA_AES_GCM */
|
||
|
|
||
|
static const char * const secret_attributes[] = {DSDB_SECRET_ATTRIBUTES};
|
||
|
--
|
||
|
2.23.0
|
||
|
|