Export some extra functions and values.
This change exports SSL_cutthrough_complete and EVP_EncodedLength (which were missed below) and also exports all ASN.1 "item" values because Android needs that. Change-Id: I6d10f935bb52ed6d682607a4016dd2b87758e3de Reviewed-on: https://boringssl-review.googlesource.com/1557 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
e7bf281be1
commit
f6faa4b710
@ -80,7 +80,7 @@ extern "C" {
|
||||
/* Macros for start and end of ASN1_ITEM definition */
|
||||
|
||||
#define ASN1_ITEM_start(itname) \
|
||||
const ASN1_ITEM itname##_it = {
|
||||
OPENSSL_EXPORT const ASN1_ITEM itname##_it = {
|
||||
|
||||
#define ASN1_ITEM_end(itname) \
|
||||
};
|
||||
|
@ -106,7 +106,7 @@ OPENSSL_EXPORT size_t
|
||||
* to call |EVP_EncodeBlock| on an input of length |len|. This includes the
|
||||
* final NUL that |EVP_EncodeBlock| writes. It returns one on success or zero
|
||||
* on error. */
|
||||
int EVP_EncodedLength(size_t *out_len, size_t len);
|
||||
OPENSSL_EXPORT int EVP_EncodedLength(size_t *out_len, size_t len);
|
||||
|
||||
|
||||
/* Decoding */
|
||||
|
@ -1514,7 +1514,7 @@ extern "C" {
|
||||
#define SSL_in_before(a) (SSL_state(a)&SSL_ST_BEFORE)
|
||||
#define SSL_in_connect_init(a) (SSL_state(a)&SSL_ST_CONNECT)
|
||||
#define SSL_in_accept_init(a) (SSL_state(a)&SSL_ST_ACCEPT)
|
||||
int SSL_cutthrough_complete(const SSL *s);
|
||||
OPENSSL_EXPORT int SSL_cutthrough_complete(const SSL *s);
|
||||
|
||||
/* The following 2 states are kept in ssl->rstate when reads fail,
|
||||
* you should not need these */
|
||||
|
Loading…
Reference in New Issue
Block a user