If a key does not belong to any key domain, it cannot be wrapped.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2023-03-07 23:45:37 +01:00
parent 963456051e
commit 6aa8d37d07
2 changed files with 4 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ uint8_t get_key_domain(file_t *fkey) {
if (meta_tag) {
return *meta_tag;
}
return 0;
return 0xff;
}
int cmd_key_domain() {