mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-12 11:20:10 +01:00
ssh token: Remove unused sshplugin_context struct
This commit is contained in:
@@ -19,7 +19,8 @@ cryptsetup_ssh_SOURCES = tokens/ssh/cryptsetup-ssh.c \
|
|||||||
src/utils_password.c \
|
src/utils_password.c \
|
||||||
lib/utils_io.c \
|
lib/utils_io.c \
|
||||||
lib/utils_loop.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)
|
cryptsetup_ssh_CFLAGS = $(AM_CFLAGS)
|
||||||
|
|
||||||
|
|||||||
@@ -44,20 +44,6 @@
|
|||||||
|
|
||||||
#define l_dbg(cd, x...) crypt_logf(cd, CRYPT_LOG_DEBUG, x)
|
#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)
|
const char *cryptsetup_token_version(void)
|
||||||
{
|
{
|
||||||
return TOKEN_VERSION_MAJOR "." TOKEN_VERSION_MINOR;
|
return TOKEN_VERSION_MAJOR "." TOKEN_VERSION_MINOR;
|
||||||
|
|||||||
Reference in New Issue
Block a user