summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-11-29 11:38:06 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-11-29 11:38:06 +0000
commit28c4c35efa15adce163c96f49b244c18685530e3 (patch)
tree84f270382532c10a4d213b51ca2d33ebf31b817b /auth.h
parentad532cd196adca8c6913c706e32da7b1c8cb5574 (diff)
parentc7c9fe5ae7ff0d8d598af55f64faac825679d690 (diff)
downloaddropbear-28c4c35efa15adce163c96f49b244c18685530e3.tar.gz
propagate from branch 'au.asn.ucc.matt.dropbear' (head fb7080ca6e254faaf7cfaee93b0ab6ab6de4ed59)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 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 */