forked from wolfSSL/wolfssl
enable functionality of wolfSSL_ERR_peek_error() when WOLFSSL_MYSQL_COMPATIBLE defined
This commit is contained in:
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 <wolfssl/error-ssl.h>
|
||||
|
||||
|
Reference in New Issue
Block a user