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>
diff --git a/include/openssl/asn1t.h b/include/openssl/asn1t.h
index 72eb2cb..52f5cfc 100644
--- a/include/openssl/asn1t.h
+++ b/include/openssl/asn1t.h
@@ -80,7 +80,7 @@
 /* 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 521004a..de94d8e 100644
--- a/include/openssl/base64.h
+++ b/include/openssl/base64.h
@@ -106,7 +106,7 @@
  * 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 5855b9f..5a97d71 100644
--- a/include/openssl/ssl.h
+++ b/include/openssl/ssl.h
@@ -1514,7 +1514,7 @@
 #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 */