summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-23 16:05:04 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-23 16:05:04 +0000
commit49b9ad2c14c4d907662439ddf9e08b9d3f84cb2d (patch)
treec14f9f6bc8a5d5ffb182db4966b154943830fef4 /auth.h
parent1a63c07a02024ca3942ce204de6c0fc4ead4d551 (diff)
parent28c4c35efa15adce163c96f49b244c18685530e3 (diff)
downloaddropbear-49b9ad2c14c4d907662439ddf9e08b9d3f84cb2d.tar.gz
propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee)
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 83a2f8e..d6fe120 100644
--- a/auth.h
+++ b/auth.h
@@ -123,6 +123,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 {
@@ -130,6 +134,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 */