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:
Attila Fülöp 2021-11-14 18:50:49 +01:00 committed by Brian Behlendorf
parent 85638aa870
commit 861dca065e

View File

@ -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) {