Mercurial > dropbear
comparison auth.h @ 551:c3f2ec71e3d4 agent-client
New standard linked list to use, rather than adhoc SignKeyList or TCPFwdList
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 06 Jul 2009 12:59:13 +0000 |
parents | cf376c696dfc |
children | de3653483ac0 |
comparison
equal
deleted
inserted
replaced
550:61c3513825b0 | 551:c3f2ec71e3d4 |
---|---|
122 struct PubKeyOptions* pubkey_options; | 122 struct PubKeyOptions* pubkey_options; |
123 #endif | 123 #endif |
124 | 124 |
125 }; | 125 }; |
126 | 126 |
127 /* Sources for signing keys */ | |
128 typedef enum { | |
129 SIGNKEY_SOURCE_RAW_FILE, | |
130 SIGNKEY_SOURCE_AGENT, | |
131 } signkey_source; | |
132 | |
133 struct SignKeyList; | |
134 /* A singly linked list of signing keys */ | |
135 struct SignKeyList { | |
136 | |
137 sign_key *key; | |
138 int type; /* The type of key */ | |
139 struct SignKeyList *next; | |
140 signkey_source source; | |
141 char *filename; | |
142 /* the buffer? for encrypted keys, so we can later get | |
143 * the private key portion */ | |
144 | |
145 }; | |
146 | |
147 #ifdef ENABLE_SVR_PUBKEY_OPTIONS | 127 #ifdef ENABLE_SVR_PUBKEY_OPTIONS |
148 struct PubKeyOptions; | 128 struct PubKeyOptions; |
149 struct PubKeyOptions { | 129 struct PubKeyOptions { |
150 /* Flags */ | 130 /* Flags */ |
151 int no_port_forwarding_flag; | 131 int no_port_forwarding_flag; |