Skip to content

Commit 08fa2aa

Browse files
Roberto SassuMimi Zohar
authored andcommitted
encrypted-keys: fixed valid_master_desc() function description
Valid key type prefixes for the parameter 'key-type' are: 'trusted' and 'user'. Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Acked-by: Gianluca Ramunno <ramunno@polito.it> Acked-by: David Howells <dhowells@redhat.com> Signed-off-by: Mimi Zohar <zohar@linux.vnet.ibm.com>
1 parent f91c2c5 commit 08fa2aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎security/keys/encrypted.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ static int aes_get_sizes(void)
8484
/*
8585
* valid_master_desc - verify the 'key-type:desc' of a new/updated master-key
8686
*
87-
* key-type:= "trusted:" | "encrypted:"
87+
* key-type:= "trusted:" | "user:"
8888
* desc:= master-key description
8989
*
9090
* Verify that 'key-type' is valid and that 'desc' exists. On key update,

0 commit comments

Comments
 (0)