forked from wolfSSL/wolfssl
Make wolfSSL_CTX_clear_options available without OPENSSL_EXTRA.
This commit is contained in:
@ -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");
|
||||
|
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user