Move OPENSSL_ITEM to store.h
The only place that uses it. Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
fffc2faeb2
commit
8d1d0f4d9e
@ -158,15 +158,6 @@ extern "C" {
|
|||||||
# define SSLEAY_PLATFORM 4
|
# define SSLEAY_PLATFORM 4
|
||||||
# define SSLEAY_DIR 5
|
# define SSLEAY_DIR 5
|
||||||
|
|
||||||
/* A generic structure to pass assorted data in a expandable way */
|
|
||||||
typedef struct openssl_item_st {
|
|
||||||
int code;
|
|
||||||
void *value; /* Not used for flag attributes */
|
|
||||||
size_t value_size; /* Max size of value for output, length for
|
|
||||||
* input */
|
|
||||||
size_t *value_length; /* Returned length of value for output */
|
|
||||||
} OPENSSL_ITEM;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* When changing the CRYPTO_LOCK_* list, be sure to maintin the text lock
|
* When changing the CRYPTO_LOCK_* list, be sure to maintin the text lock
|
||||||
* names in cryptlib.c
|
* names in cryptlib.c
|
||||||
|
@ -248,6 +248,15 @@ DECLARE_STACK_OF(STORE_OBJECT)
|
|||||||
STORE_OBJECT *STORE_OBJECT_new(void);
|
STORE_OBJECT *STORE_OBJECT_new(void);
|
||||||
void STORE_OBJECT_free(STORE_OBJECT *data);
|
void STORE_OBJECT_free(STORE_OBJECT *data);
|
||||||
|
|
||||||
|
/* A generic structure to pass assorted data in a expandable way */
|
||||||
|
typedef struct openssl_item_st {
|
||||||
|
int code;
|
||||||
|
void *value; /* Not used for flag attributes */
|
||||||
|
size_t value_size; /* Max size of value for output, length for
|
||||||
|
* input */
|
||||||
|
size_t *value_length; /* Returned length of value for output */
|
||||||
|
} OPENSSL_ITEM;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The following functions handle the storage. They return 0, a negative
|
* The following functions handle the storage. They return 0, a negative
|
||||||
* number or NULL on error, anything else on success.
|
* number or NULL on error, anything else on success.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user