Commit 08fa2aa5 authored by Roberto Sassu's avatar Roberto Sassu Committed by Mimi Zohar

encrypted-keys: fixed valid_master_desc() function description

Valid key type prefixes for the parameter 'key-type' are: 'trusted' and
'user'.
Signed-off-by: default avatarRoberto Sassu <roberto.sassu@polito.it>
Acked-by: default avatarGianluca Ramunno <ramunno@polito.it>
Acked-by: default avatarDavid Howells <dhowells@redhat.com>
Signed-off-by: default avatarMimi Zohar <zohar@linux.vnet.ibm.com>
parent f91c2c5c
...@@ -84,7 +84,7 @@ static int aes_get_sizes(void) ...@@ -84,7 +84,7 @@ static int aes_get_sizes(void)
/* /*
* valid_master_desc - verify the 'key-type:desc' of a new/updated master-key * 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 * desc:= master-key description
* *
* Verify that 'key-type' is valid and that 'desc' exists. On key update, * Verify that 'key-type' is valid and that 'desc' exists. On key update,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment