Also export some deprecated functions.

I didn't mark these functions as OPENSSL_EXPORT in the first place
because I was hoping that they wouldn't be needed. However, WebRTC and
libjingle are using them.

Change-Id: I7a9de770a0a2213e99725b9b5ac7d3d13754ebfd
This commit is contained in:
Adam Langley 2014-08-01 10:33:29 -07:00
parent e216d6bb9f
commit 533cbee57e

View File

@ -247,21 +247,23 @@ uint32_t CRYPTO_THREADID_hash(const CRYPTO_THREADID *id);
* *
* TODO(fork): cleanup callers and remove. */ * TODO(fork): cleanup callers and remove. */
void CRYPTO_set_id_callback(unsigned long (*func)(void)); OPENSSL_EXPORT void CRYPTO_set_id_callback(unsigned long (*func)(void));
typedef struct { typedef struct {
int references; int references;
struct CRYPTO_dynlock_value *data; struct CRYPTO_dynlock_value *data;
} CRYPTO_dynlock; } CRYPTO_dynlock;
void CRYPTO_set_dynlock_create_callback(struct CRYPTO_dynlock_value *( OPENSSL_EXPORT void CRYPTO_set_dynlock_create_callback(
*dyn_create_function)(const char *file, int line)); struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file,
int line));
void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)( OPENSSL_EXPORT void CRYPTO_set_dynlock_lock_callback(void (*dyn_lock_function)(
int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)); int mode, struct CRYPTO_dynlock_value *l, const char *file, int line));
void CRYPTO_set_dynlock_destroy_callback(void (*dyn_destroy_function)( OPENSSL_EXPORT void CRYPTO_set_dynlock_destroy_callback(
struct CRYPTO_dynlock_value *l, const char *file, int line)); void (*dyn_destroy_function)(struct CRYPTO_dynlock_value *l,
const char *file, int line));
#if defined(__cplusplus) #if defined(__cplusplus)