From 861dca065e3b76c7586fbe207f02e66b640d5a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20F=C3=BCl=C3=B6p?= Date: Sun, 14 Nov 2021 18:50:49 +0100 Subject: [PATCH] get_key_material: fix style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Felix Dörre Reviewed-by: Brian Behlendorf Signed-off-by: Attila Fülöp Closes #12765 --- lib/libzfs/libzfs_crypto.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libzfs/libzfs_crypto.c b/lib/libzfs/libzfs_crypto.c index 3f5648eba75a..cfe04a79273d 100644 --- a/lib/libzfs/libzfs_crypto.c +++ b/lib/libzfs/libzfs_crypto.c @@ -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) {