summaryrefslogtreecommitdiffhomepage
path: root/cli-runopts.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2005-07-08 11:32:09 +0000
committerMatt Johnston <matt@ucc.asn.au>2005-07-08 11:32:09 +0000
commitfb1fd7f6f4e5510b31adc1c0ab1d1f025e77ffbe (patch)
tree46607153b6fe9c821409d1ef896852170be2772d /cli-runopts.c
parent109b87d2a31167727cc0c5616ea05f9224ad7d13 (diff)
rename PubkeyList to SignKeyList for clarity
--HG-- extra : convert_revision : 838e354daf3ae9a1dce710526c37fec9859ee6d1
Diffstat (limited to 'cli-runopts.c')
-rw-r--r--cli-runopts.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli-runopts.c b/cli-runopts.c
index 0f5c67c..285c51d 100644
--- a/cli-runopts.c
+++ b/cli-runopts.c
@@ -89,7 +89,7 @@ void cli_getopts(int argc, char ** argv) {
cli_opts.cmd = NULL;
cli_opts.wantpty = 9; /* 9 means "it hasn't been touched", gets set later */
#ifdef ENABLE_CLI_PUBKEY_AUTH
- cli_opts.pubkeys = NULL;
+ cli_opts.privkeys = NULL;
#endif
#ifdef ENABLE_CLI_LOCALTCPFWD
cli_opts.localfwds = NULL;
@@ -271,7 +271,7 @@ void cli_getopts(int argc, char ** argv) {
#ifdef ENABLE_CLI_PUBKEY_AUTH
static void loadidentityfile(const char* filename) {
- struct PubkeyList * nextkey;
+ struct SignKeyList * nextkey;
sign_key *key;
int keytype;
@@ -284,11 +284,11 @@ static void loadidentityfile(const char* filename) {
} else {
- nextkey = (struct PubkeyList*)m_malloc(sizeof(struct PubkeyList));
+ nextkey = (struct SignKeyList*)m_malloc(sizeof(struct SignKeyList));
nextkey->key = key;
- nextkey->next = cli_opts.pubkeys;
+ nextkey->next = cli_opts.privkeys;
nextkey->type = keytype;
- cli_opts.pubkeys = nextkey;
+ cli_opts.privkeys = nextkey;
}
}
#endif