From d5a0b81e976525d835a91dba825fe1fb5c070cdd Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 12 Jan 2017 22:38:47 -0700 Subject: [PATCH] fix SSL_load_error_strings redefinition --- wolfssl/openssl/err.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/wolfssl/openssl/err.h b/wolfssl/openssl/err.h index 30360a885..adb9f9a56 100644 --- a/wolfssl/openssl/err.h +++ b/wolfssl/openssl/err.h @@ -19,7 +19,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA */ +#ifndef WOLFSSL_OPENSSL_ERR_ +#define WOLFSSL_OPENSSL_ERR_ + /* err.h for openssl */ #define ERR_load_crypto_strings wolfSSL_ERR_load_crypto_strings #define ERR_peek_last_error wolfSSL_ERR_peek_last_error -#define SSL_load_error_strings() /* SSL_load_error_strings not needed */ + +#endif /* WOLFSSL_OPENSSL_ERR_ */ +