get_key_material: fix style
Reviewed-by: Felix Dörre <felix@dogcraft.de> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Attila Fülöp <attila@fueloep.org> Closes #12765
This commit is contained in:
parent
85638aa870
commit
861dca065e
@ -245,8 +245,10 @@ validate_key(libzfs_handle_t *hdl, zfs_keyformat_t keyformat,
|
||||
}
|
||||
break;
|
||||
case ZFS_KEYFORMAT_PASSPHRASE:
|
||||
/* verify the length is within bounds when setting a new key,
|
||||
* but not when loading an existing key */
|
||||
/*
|
||||
* Verify the length is within bounds when setting a new key,
|
||||
* but not when loading an existing key.
|
||||
*/
|
||||
if (!do_verify)
|
||||
break;
|
||||
if (keylen > MAX_PASSPHRASE_LEN) {
|
||||
|
Loading…
Reference in New Issue
Block a user