Add do-nothing compatibility function |ERR_load_ERR_strings|.

Change-Id: I9ad06017b7b726e4529367ad244ae8945853ce62
Reviewed-on: https://boringssl-review.googlesource.com/4603
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Matt Braithwaite 2015-04-30 13:04:06 -07:00 committed by Adam Langley
parent 687937304b
commit 9febf19e54
2 changed files with 10 additions and 5 deletions

View File

@ -787,3 +787,5 @@ void ERR_load_crypto_strings(void) {}
void ERR_free_strings(void) {} void ERR_free_strings(void) {}
void ERR_load_BIO_strings(void) {} void ERR_load_BIO_strings(void) {}
void ERR_load_ERR_strings(void) {}

View File

@ -142,6 +142,14 @@ extern "C" {
/* Startup and shutdown. */ /* Startup and shutdown. */
/* ERR_load_BIO_strings does nothing.
*
* TODO(fork): remove. libjingle calls this. */
OPENSSL_EXPORT void ERR_load_BIO_strings(void);
/* ERR_load_ERR_strings does nothing. */
OPENSSL_EXPORT void ERR_load_ERR_strings(void);
/* ERR_load_crypto_strings does nothing. */ /* ERR_load_crypto_strings does nothing. */
OPENSSL_EXPORT void ERR_load_crypto_strings(void); OPENSSL_EXPORT void ERR_load_crypto_strings(void);
@ -487,11 +495,6 @@ enum {
* ${lib}_F_${reason}. */ * ${lib}_F_${reason}. */
#define OPENSSL_DECLARE_ERROR_FUNCTION(lib, function_name) #define OPENSSL_DECLARE_ERROR_FUNCTION(lib, function_name)
/* ERR_load_BIO_strings does nothing.
*
* TODO(fork): remove. libjingle calls this. */
OPENSSL_EXPORT void ERR_load_BIO_strings(void);
/* Android compatibility section. /* Android compatibility section.
* *