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>
This commit is contained in:
Roberto Sassu 2011-06-27 13:45:40 +02:00 committed by Mimi Zohar
parent f91c2c5cfa
commit 08fa2aa54e
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ static int aes_get_sizes(void)
/*
* valid_master_desc - verify the 'key-type:desc' of a new/updated master-key
*
* key-type:= "trusted:" | "encrypted:"
* key-type:= "trusted:" | "user:"
* desc:= master-key description
*
* Verify that 'key-type' is valid and that 'desc' exists. On key update,