mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
add more macro guards for builds
This commit is contained in:
committed by
Eric Blankenhorn
parent
b67ade5164
commit
a9accb6c39
@ -13455,6 +13455,7 @@ WOLFSSL_X509_CHAIN* wolfSSL_SESSION_get_peer_chain(WOLFSSL_SESSION* session)
|
||||
}
|
||||
|
||||
|
||||
#ifdef OPENSSL_EXTRA
|
||||
/* gets the peer certificate associated with the session passed in
|
||||
* returns null on failure, the caller should not free the returned pointer */
|
||||
WOLFSSL_X509* wolfSSL_SESSION_get0_peer(WOLFSSL_SESSION* session)
|
||||
@ -13478,7 +13479,7 @@ WOLFSSL_X509* wolfSSL_SESSION_get0_peer(WOLFSSL_SESSION* session)
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif /* OPENSSL_EXTRA */
|
||||
#endif /* SESSION_INDEX && SESSION_CERTS */
|
||||
|
||||
|
||||
|
@ -23928,7 +23928,7 @@ static void test_wolfSSL_BIO_puts(void)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && \
|
||||
#if defined(OPENSSL_ALL) && !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && \
|
||||
!defined(NO_RSA) && defined(HAVE_EXT_CACHE) && \
|
||||
defined(HAVE_IO_TESTS_DEPENDENCIES)
|
||||
static int forceWantRead(WOLFSSL *ssl, char *buf, int sz, void *ctx)
|
||||
@ -23943,7 +23943,7 @@ static int forceWantRead(WOLFSSL *ssl, char *buf, int sz, void *ctx)
|
||||
|
||||
static void test_wolfSSL_BIO_should_retry(void)
|
||||
{
|
||||
#if defined(OPENSSL_EXTRA) && !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && \
|
||||
#if defined(OPENSSL_ALL) && !defined(NO_FILESYSTEM) && !defined(NO_CERTS) && \
|
||||
!defined(NO_RSA) && defined(HAVE_EXT_CACHE) && \
|
||||
defined(HAVE_IO_TESTS_DEPENDENCIES)
|
||||
tcp_ready ready;
|
||||
|
Reference in New Issue
Block a user