mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 03:10:08 +01:00
Remove custom made 'contains' helper from keyslot validation.
This commit is contained in:
committed by
Milan Broz
parent
790fdc0aa6
commit
22f10dd8d2
@@ -64,6 +64,10 @@ void JSON_DBG(json_object *jobj, const char *desc);
|
||||
* LUKS2 JSON validation
|
||||
*/
|
||||
|
||||
/* validation helper */
|
||||
json_object *contains(json_object *jobj, const char *name, const char *section,
|
||||
const char *key, json_type type);
|
||||
|
||||
int LUKS2_hdr_validate(json_object *hdr_jobj);
|
||||
int LUKS2_keyslot_validate(json_object *hdr_jobj, json_object *hdr_keyslot, const char *key);
|
||||
int LUKS2_check_json_size(const struct luks2_hdr *hdr);
|
||||
|
||||
Reference in New Issue
Block a user