diff --git a/wolfssl/internal.h b/wolfssl/internal.h index aa4f1e6d8a..6ac8ad06c5 100644 --- a/wolfssl/internal.h +++ b/wolfssl/internal.h @@ -2228,6 +2228,9 @@ WOLFSSL_LOCAL void FreeAsyncCtx(WOLFSSL* ssl, byte freeAsync); WOLFSSL_LOCAL void FreeKeyExchange(WOLFSSL* ssl); WOLFSSL_LOCAL void FreeSuites(WOLFSSL* ssl); WOLFSSL_LOCAL int ProcessPeerCerts(WOLFSSL* ssl, byte* input, word32* inOutIdx, word32 totalSz); +#ifdef WOLFSSL_API_PREFIX_MAP + #define MatchDomainName wolfSSL_MatchDomainName +#endif WOLFSSL_TEST_VIS int MatchDomainName(const char* pattern, int len, const char* str, word32 strLen, unsigned int flags);