diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h index 72eb2cbc..52f5cfc2 100644 --- a/include/openssl/asn1t.h +++ b/include/openssl/asn1t.h @@ -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) \ }; diff --git a/include/openssl/base64.h b/include/openssl/base64.h index 521004a8..de94d8ec 100644 --- a/include/openssl/base64.h +++ b/include/openssl/base64.h @@ -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 */ diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 5855b9fd..5a97d719 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -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 */