mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Make it compile, update for changes in channel structure.
--HG-- branch : agent-client extra : convert_revision : 84676a98a0848224078a716b1292744a34e9d80c
This commit is contained in:
9
auth.h
9
auth.h
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user