The verification code was copied from userspace code which includes
stddef.h. In the kernel, this header should not be included, so
remove those cases.
Fixes: 988e2af4b7a0 ("backports: add signature verification code")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
#include MBEDTLS_CONFIG_FILE
#endif
-#include <stddef.h>
-
#if defined(MBEDTLS_BIGNUM_C)
#include "bignum.h"
#endif
#ifndef MBEDTLS_MD_H
#define MBEDTLS_MD_H
-#include <stddef.h>
-
#define MBEDTLS_ERR_MD_FEATURE_UNAVAILABLE -0x5080 /**< The selected feature is not available. */
#define MBEDTLS_ERR_MD_BAD_INPUT_DATA -0x5100 /**< Bad input parameters to function. */
#define MBEDTLS_ERR_MD_ALLOC_FAILED -0x5180 /**< Failed to allocate memory. */
#include "asn1.h"
#include "pk.h"
-#include <stddef.h>
-
#if defined(MBEDTLS_CIPHER_C)
#include "cipher.h"
#endif