mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-02 04:04:39 +02:00
add SSL_CTX_clear_options
This commit is contained in:
@@ -11476,6 +11476,12 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
return opt;
|
return opt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long wolfSSL_CTX_clear_options(WOLFSSL_CTX* ctx, long opt)
|
||||||
|
{
|
||||||
|
WOLFSSL_ENTER("SSL_CTX_clear_options");
|
||||||
|
ctx->mask &= ~opt;
|
||||||
|
return opt;
|
||||||
|
}
|
||||||
|
|
||||||
int wolfSSL_set_rfd(WOLFSSL* ssl, int rfd)
|
int wolfSSL_set_rfd(WOLFSSL* ssl, int rfd)
|
||||||
{
|
{
|
||||||
|
@@ -414,6 +414,8 @@ typedef WOLFSSL_X509_STORE_CTX X509_STORE_CTX;
|
|||||||
#define RAND_bytes wolfSSL_RAND_bytes
|
#define RAND_bytes wolfSSL_RAND_bytes
|
||||||
#define SSLv23_server_method wolfSSLv23_server_method
|
#define SSLv23_server_method wolfSSLv23_server_method
|
||||||
#define SSL_CTX_set_options wolfSSL_CTX_set_options
|
#define SSL_CTX_set_options wolfSSL_CTX_set_options
|
||||||
|
#define SSL_CTX_clear_options wolfSSL_CTX_clear_options
|
||||||
|
|
||||||
#define SSL_CTX_check_private_key wolfSSL_CTX_check_private_key
|
#define SSL_CTX_check_private_key wolfSSL_CTX_check_private_key
|
||||||
|
|
||||||
#define ERR_free_strings wolfSSL_ERR_free_strings
|
#define ERR_free_strings wolfSSL_ERR_free_strings
|
||||||
|
@@ -1238,6 +1238,7 @@ WOLFSSL_API int wolfSSL_RAND_status(void);
|
|||||||
WOLFSSL_API int wolfSSL_RAND_bytes(unsigned char* buf, int num);
|
WOLFSSL_API int wolfSSL_RAND_bytes(unsigned char* buf, int num);
|
||||||
WOLFSSL_API WOLFSSL_METHOD *wolfSSLv23_server_method(void);
|
WOLFSSL_API WOLFSSL_METHOD *wolfSSLv23_server_method(void);
|
||||||
WOLFSSL_API long wolfSSL_CTX_set_options(WOLFSSL_CTX*, long);
|
WOLFSSL_API long wolfSSL_CTX_set_options(WOLFSSL_CTX*, long);
|
||||||
|
WOLFSSL_API long wolfSSL_CTX_clear_options(WOLFSSL_CTX*, long);
|
||||||
#ifndef NO_CERTS
|
#ifndef NO_CERTS
|
||||||
WOLFSSL_API int wolfSSL_CTX_check_private_key(WOLFSSL_CTX*);
|
WOLFSSL_API int wolfSSL_CTX_check_private_key(WOLFSSL_CTX*);
|
||||||
#endif /* !NO_CERTS */
|
#endif /* !NO_CERTS */
|
||||||
|
Reference in New Issue
Block a user