moved definition of proposal_token from proposal.c to proposal_keywords.h
This commit is contained in:
@@ -572,13 +572,6 @@ static void check_proposal(private_proposal_t *this)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct proposal_token {
|
|
||||||
char *name;
|
|
||||||
transform_type_t type;
|
|
||||||
u_int16_t algorithm;
|
|
||||||
u_int16_t keysize;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* add a algorithm identified by a string to the proposal.
|
* add a algorithm identified by a string to the proposal.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -16,8 +16,17 @@
|
|||||||
#ifndef _PROPOSAL_KEYWORDS_H_
|
#ifndef _PROPOSAL_KEYWORDS_H_
|
||||||
#define _PROPOSAL_KEYWORDS_H_
|
#define _PROPOSAL_KEYWORDS_H_
|
||||||
|
|
||||||
|
#include <crypto/transform.h>
|
||||||
|
|
||||||
typedef struct proposal_token proposal_token_t;
|
typedef struct proposal_token proposal_token_t;
|
||||||
|
|
||||||
|
struct proposal_token {
|
||||||
|
char *name;
|
||||||
|
transform_type_t type;
|
||||||
|
u_int16_t algorithm;
|
||||||
|
u_int16_t keysize;
|
||||||
|
};
|
||||||
|
|
||||||
extern const proposal_token_t* proposal_get_token(register const char *str,
|
extern const proposal_token_t* proposal_get_token(register const char *str,
|
||||||
register unsigned int len);
|
register unsigned int len);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user