From 1f3591d4c75fc4039dbd120ff1c459b311e976e2 Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Wed, 27 Aug 2014 12:36:59 -0700 Subject: [PATCH] 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 --- crypto/bytestring/internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/bytestring/internal.h b/crypto/bytestring/internal.h index 42c1a394..fd46aebd 100644 --- a/crypto/bytestring/internal.h +++ b/crypto/bytestring/internal.h @@ -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)