propagate from branch 'au.asn.ucc.matt.dropbear' (head 8a7db1e2fdc5636abb338adb636babc32f465739)

to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d)

--HG--
branch : agent-client
extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
This commit is contained in:
Matt Johnston
2007-08-16 13:34:37 +00:00
13 changed files with 328 additions and 17 deletions

5
auth.h
View File

@@ -96,6 +96,10 @@ struct AuthState {
};
/* Sources for signing keys */
#define SIGNKEY_SOURCE_RAW_FILE 1
#define SIGNKEY_SOURCE_AGENT 21
struct SignKeyList;
/* A singly linked list of signing keys */
struct SignKeyList {
@@ -103,6 +107,7 @@ struct SignKeyList {
sign_key *key;
int type; /* The type of key */
struct SignKeyList *next;
int source;
/* filename? or the buffer? for encrypted keys, so we can later get
* the private key portion */