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:
parent
5faeaa1365
commit
aa52015d45
|
@ -51,12 +51,6 @@
|
||||||
* technically ok if the salt is known to the attacker).
|
* 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 MIN_PASSPHRASE_LEN 8
|
||||||
#define MAX_PASSPHRASE_LEN 512
|
#define MAX_PASSPHRASE_LEN 512
|
||||||
#define MAX_KEY_PROMPT_ATTEMPTS 3
|
#define MAX_KEY_PROMPT_ATTEMPTS 3
|
||||||
|
|
Loading…
Reference in New Issue