diff --git a/tokens/Makemodule.am b/tokens/Makemodule.am index 0303fd7a..896b0496 100644 --- a/tokens/Makemodule.am +++ b/tokens/Makemodule.am @@ -19,7 +19,8 @@ cryptsetup_ssh_SOURCES = tokens/ssh/cryptsetup-ssh.c \ src/utils_password.c \ lib/utils_io.c \ lib/utils_loop.c -cryptsetup_ssh_LDADD = -lssh -lm libcryptsetup.la @JSON_C_LIBS@ @POPT_LIBS@ +cryptsetup_ssh_LDADD = -lssh -lm libcryptsetup.la @JSON_C_LIBS@ @POPT_LIBS@ \ + @PWQUALITY_LIBS@ @PASSWDQC_LIBS@ cryptsetup_ssh_CFLAGS = $(AM_CFLAGS) diff --git a/tokens/ssh/libcryptsetup-token-ssh.c b/tokens/ssh/libcryptsetup-token-ssh.c index 6b55dc1e..9d80e314 100644 --- a/tokens/ssh/libcryptsetup-token-ssh.c +++ b/tokens/ssh/libcryptsetup-token-ssh.c @@ -44,20 +44,6 @@ #define l_dbg(cd, x...) crypt_logf(cd, CRYPT_LOG_DEBUG, x) -struct sshplugin_context { - const char *server; - const char *user; - const char *path; - const char *sshkey_path; - - int token; - int keyslot; - - uint8_t status; - - struct crypt_cli *cli; -}; - const char *cryptsetup_token_version(void) { return TOKEN_VERSION_MAJOR "." TOKEN_VERSION_MINOR;