On 8/18/24 09:57, Roberto Sassu wrote:
...
> diff --git a/crypto/asymmetric_keys/pgp_test_key.c 
> b/crypto/asymmetric_keys/pgp_test_key.c
> new file mode 100644
> index 000000000000..e067dedf6ca0
> --- /dev/null
> +++ b/crypto/asymmetric_keys/pgp_test_key.c
> @@ -0,0 +1,129 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/* Testing module to load key from trusted PGP message
> + *
> + * Copyright (C) 2014 Red Hat, Inc. All Rights Reserved.
> + * Written by David Howells (dhowe...@redhat.com)
> + */
> +
> +#define pr_fmt(fmt) "PGPtest: "fmt
> +#include <linux/key.h>
> +#include <linux/key-type.h>
> +#include <linux/cred.h>
> +#include <linux/err.h>
> +#include <linux/module.h>
> +#include <linux/verification.h>
> +#include <keys/user-type.h>
> +#include <keys/system_keyring.h>
> +#include <crypto/pgp.h>
> +
> +#include "pgp_parser.h"
> +
> +MODULE_LICENSE("GPL");

Missing MODULE_DESCRIPTION()


Reply via email to