Make wolfSSL_CTX_clear_options available without OPENSSL_EXTRA.

This commit is contained in:
Kareem
2022-07-20 12:24:47 -07:00
parent 873890316c
commit 741d61574b
2 changed files with 2 additions and 4 deletions

View File

@ -15896,8 +15896,6 @@ cleanup:
return ctx->mask;
}
#ifdef OPENSSL_EXTRA
long wolfSSL_CTX_clear_options(WOLFSSL_CTX* ctx, long opt)
{
WOLFSSL_ENTER("SSL_CTX_clear_options");
@ -15907,6 +15905,8 @@ cleanup:
return ctx->mask;
}
#ifdef OPENSSL_EXTRA
int wolfSSL_set_rfd(WOLFSSL* ssl, int rfd)
{
WOLFSSL_ENTER("SSL_set_rfd");

View File

@ -35525,10 +35525,8 @@ static void test_wolfSSL_set_options(void)
WOLFSSL_OP_NO_TLSv1_2) == WOLFSSL_OP_NO_TLSv1_2);
AssertTrue((wolfSSL_CTX_set_options(ctx, WOLFSSL_OP_NO_COMPRESSION) &
WOLFSSL_OP_NO_COMPRESSION) == WOLFSSL_OP_NO_COMPRESSION);
#ifdef OPENSSL_EXTRA
AssertFalse((wolfSSL_CTX_clear_options(ctx, WOLFSSL_OP_NO_COMPRESSION) &
WOLFSSL_OP_NO_COMPRESSION));
#endif
wolfSSL_CTX_free(ctx);