fix SSL_load_error_strings redefinition

This commit is contained in:
Jacob Barthelmeh
2017-01-12 22:38:47 -07:00
parent 392b1c6f36
commit d5a0b81e97

View File

@ -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_ */