fix build for haproxy

This commit is contained in:
Jacob Barthelmeh 2018-02-28 11:26:01 -07:00
parent b25ebf64b9
commit 2a368abd20
2 changed files with 4 additions and 2 deletions

View File

@ -31988,7 +31988,7 @@ void wolfSSL_OPENSSL_config(char *config_name)
#endif
#endif
#ifdef WOLFSSL_NGINX
#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY)
int wolfSSL_X509_get_ex_new_index(int idx, void *arg, void *a, void *b, void *c)
{
static int x509_idx = 0;

View File

@ -823,7 +823,9 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_BIT_STRING;
#define ERR_LIB_PEM 9
#define ERR_LIB_X509 10
#ifdef WOLFSSL_NGINX
#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \
defined(WOLFSSL_MYSQL_COMPATIBLE)
#include <wolfssl/error-ssl.h>
#define OPENSSL_STRING WOLFSSL_STRING