Export CBS_asn1_ber_to_der.

We don't really want to expose this but the bytestring test calls this
function directly and, when linked against a shared library, thus needs
it to be in the dynamic symbol table.

Change-Id: Ife01da36fe142026a6a3e545cff746512b966ee6
This commit is contained in:
Adam Langley 2014-08-27 12:36:59 -07:00
parent 25c93ffc86
commit 1f3591d4c7

View File

@ -45,7 +45,7 @@ int CBS_get_any_asn1_element(CBS *cbs, CBS *out, unsigned *out_tag,
* from NSS.
*
* It returns one on success and zero otherwise. */
int CBS_asn1_ber_to_der(CBS *in, uint8_t **out, size_t *out_len);
OPENSSL_EXPORT int CBS_asn1_ber_to_der(CBS *in, uint8_t **out, size_t *out_len);
#if defined(__cplusplus)