Re: [PATCH] crypto : asymmetric_keys: Fix function description to match prototype

From: Ben Boeckel
Date: Wed Oct 06 2021 - 13:42:40 EST


On Wed, Oct 06, 2021 at 18:23:50 +0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function arguments in the description does not match the prototype.
> Fix this by renaming trust_keys to trusted_keys.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> crypto/asymmetric_keys/verify_pefile.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/crypto/asymmetric_keys/verify_pefile.c b/crypto/asymmetric_keys/verify_pefile.c
> index 7553ab18db89..148cad70fe79 100644
> --- a/crypto/asymmetric_keys/verify_pefile.c
> +++ b/crypto/asymmetric_keys/verify_pefile.c
> @@ -387,7 +387,7 @@ static int pefile_digest_pe(const void *pebuf, unsigned int pelen,
> * verify_pefile_signature - Verify the signature on a PE binary image
> * @pebuf: Buffer containing the PE binary image
> * @pelen: Length of the binary image
> - * @trust_keys: Signing certificate(s) to use as starting points
> + * @trusted_keys: Signing certificate(s) to use as starting points
> * @usage: The use to which the key is being put.
> *
> * Validate that the certificate chain inside the PKCS#7 message inside the PE

FYI, this was submitted earlier this week with Message-Id:

20211004001731.26240-1-rdunlap@xxxxxxxxxxxxx

which also fixes the `Return:` notation for the return value docs.

--Ben