diff --git a/src/ssl.c b/src/ssl.c index 19bf28c9c..a062e3e2f 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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"); diff --git a/tests/api.c b/tests/api.c index aaeb0feea..d02c496a1 100644 --- a/tests/api.c +++ b/tests/api.c @@ -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);