SSL_CTX_clear_options return verue

This commit is contained in:
Takashi Kojo
2017-06-25 05:49:03 +09:00
parent dace30cfac
commit 3c0a146cd7

View File

@@ -11488,7 +11488,7 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
{ {
WOLFSSL_ENTER("SSL_CTX_clear_options"); WOLFSSL_ENTER("SSL_CTX_clear_options");
ctx->mask &= ~opt; ctx->mask &= ~opt;
return opt; return ctx->mask;
} }
int wolfSSL_set_rfd(WOLFSSL* ssl, int rfd) int wolfSSL_set_rfd(WOLFSSL* ssl, int rfd)