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