summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-08-16 13:34:37 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-08-16 13:34:37 +0000
commite41452afebbe0a8520ddcb2220d62f5a15845815 (patch)
tree07333ff62ba340aced17ff7bac19f661ae7cd590 /auth.h
parent58296a95f1c8d987a4b6834aa5998a2ba1d3f1c5 (diff)
parent1e26b86f1508b0a7586b2e9dfd2ac328b94e8c42 (diff)
downloaddropbear-e41452afebbe0a8520ddcb2220d62f5a15845815.tar.gz
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
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth.h b/auth.h
index 661265a..e6ff478 100644
--- a/auth.h
+++ b/auth.h
@@ -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 */