libzfs_crypto.c: remove unused key_locator enum

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11866
This commit is contained in:
наб 2021-03-10 11:18:49 +01:00 committed by Brian Behlendorf
parent 0395cf92e0
commit e568853f96

View File

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