Message ID | E1YknAY-0001z9-R5@gondolin.me.apana.org.au (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
diff --git a/crypto/fips.c b/crypto/fips.c index 5539700..0f65df9 100644 --- a/crypto/fips.c +++ b/crypto/fips.c @@ -10,7 +10,10 @@ * */ -#include "internal.h" +#include <linux/export.h> +#include <linux/fips.h> +#include <linux/init.h> +#include <linux/kernel.h> int fips_enabled; EXPORT_SYMBOL_GPL(fips_enabled);
The header file internal.h is only meant for internal crypto API implementors such as rng.c. So fips has no business in including it. This patch removes that inclusions and instead adds inclusions of the actual features used by fips. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> --- crypto/fips.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html