Make it compile, update for changes in channel structure.

--HG--
branch : agent-client
extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
This commit is contained in:
Matt Johnston
2009-07-01 04:53:17 +00:00
parent 709a3e75cf
commit c6582dbe37
11 changed files with 42 additions and 31 deletions

9
auth.h
View File

@@ -26,6 +26,7 @@
#define _AUTH_H_
#include "includes.h"
#include "signkey.h"
#include "chansession.h"
void svr_authinitialise();
@@ -124,8 +125,10 @@ struct AuthState {
};
/* Sources for signing keys */
#define SIGNKEY_SOURCE_RAW_FILE 1
#define SIGNKEY_SOURCE_AGENT 21
typedef enum {
SIGNKEY_SOURCE_RAW_FILE,
SIGNKEY_SOURCE_AGENT,
} signkey_source;
struct SignKeyList;
/* A singly linked list of signing keys */
@@ -134,7 +137,7 @@ struct SignKeyList {
sign_key *key;
int type; /* The type of key */
struct SignKeyList *next;
int source;
signkey_source source;
char *filename;
/* the buffer? for encrypted keys, so we can later get
* the private key portion */