s4:samdb: Only include necessary header files in encrypted_secrets
authorAndreas Schneider <asn@samba.org>
Tue, 26 Feb 2019 17:33:09 +0000 (18:33 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 21 Aug 2019 09:57:29 +0000 (09:57 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/encrypted_secrets.c

index 5f8cd8747ea40735fe4b3092e91fdf57883dd9b8..e09328585881691fe398840d11f68c2899df00f1 100644 (file)
@@ -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};