diff --git a/src/ssl.c b/src/ssl.c index 1be22f060..ce7963d17 100755 --- a/src/ssl.c +++ b/src/ssl.c @@ -24900,7 +24900,8 @@ unsigned long wolfSSL_ERR_peek_error_line_data(const char **file, int *line, *flags = 0; } -#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) +#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \ + defined(WOLFSSL_MYSQL_COMPATIBLE) { int ret = 0; diff --git a/wolfcrypt/src/logging.c b/wolfcrypt/src/logging.c index 945277ec5..9a15974e5 100644 --- a/wolfcrypt/src/logging.c +++ b/wolfcrypt/src/logging.c @@ -303,7 +303,8 @@ int wc_LoggingCleanup(void) } -#if defined(DEBUG_WOLFSSL) || defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) +#if defined(DEBUG_WOLFSSL) || defined(WOLFSSL_NGINX) || \ + defined(WOLFSSL_HAPROXY) || defined(WOLFSSL_MYSQL_COMPATIBLE) /* peek at an error node * * idx : if -1 then the most recent node is looked at, otherwise search diff --git a/wolfssl/openssl/ssl.h b/wolfssl/openssl/ssl.h index fb8ba7591..313164f86 100644 --- a/wolfssl/openssl/ssl.h +++ b/wolfssl/openssl/ssl.h @@ -721,7 +721,8 @@ typedef WOLFSSL_ASN1_BIT_STRING ASN1_BIT_STRING; #define NID_tlsfeature 92 /* id-pe 24 */ -#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) +#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \ + defined(WOLFSSL_MYSQL_COMPATIBLE) #include