aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorнаб <[email protected]>2021-03-10 11:18:49 +0100
committerBrian Behlendorf <[email protected]>2021-04-11 15:43:15 -0700
commite568853f9668b2b389870a55c9157ff37f64a604 (patch)
treeb37970de8f71b6085429ef5e2502454245bb2307 /lib
parent0395cf92e02df36f75531679ce868fd7380ad879 (diff)
libzfs_crypto.c: remove unused key_locator enum
Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #11866
Diffstat (limited to 'lib')
-rw-r--r--lib/libzfs/libzfs_crypto.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/libzfs/libzfs_crypto.c b/lib/libzfs/libzfs_crypto.c
index fe3a0f283..450728c73 100644
--- a/lib/libzfs/libzfs_crypto.c
+++ b/lib/libzfs/libzfs_crypto.c
@@ -51,12 +51,6 @@
* technically ok if the salt is known to the attacker).
*/
-typedef enum key_locator {
- KEY_LOCATOR_NONE,
- KEY_LOCATOR_PROMPT,
- KEY_LOCATOR_URI
-} key_locator_t;
-
#define MIN_PASSPHRASE_LEN 8
#define MAX_PASSPHRASE_LEN 512
#define MAX_KEY_PROMPT_ATTEMPTS 3