forked from wolfSSL/wolfssl
fix hard tabs, new line
This commit is contained in:
@@ -11471,7 +11471,8 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
{
|
{
|
||||||
WOLFSSL_ENTER("wolfSSL_CTX_get_options");
|
WOLFSSL_ENTER("wolfSSL_CTX_get_options");
|
||||||
WOLFSSL_MSG("wolfSSL options are set through API calls and macros");
|
WOLFSSL_MSG("wolfSSL options are set through API calls and macros");
|
||||||
if(ctx == NULL)return SSL_FAILURE;
|
if(ctx == NULL)
|
||||||
|
return SSL_FAILURE;
|
||||||
return ctx->mask;
|
return ctx->mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -11480,9 +11481,11 @@ int wolfSSL_set_compression(WOLFSSL* ssl)
|
|||||||
{
|
{
|
||||||
WOLFSSL *ssl;
|
WOLFSSL *ssl;
|
||||||
WOLFSSL_ENTER("SSL_CTX_set_options");
|
WOLFSSL_ENTER("SSL_CTX_set_options");
|
||||||
if(ctx == NULL)return SSL_FAILURE;
|
if(ctx == NULL)
|
||||||
|
return SSL_FAILURE;
|
||||||
ssl = wolfSSL_new(ctx);
|
ssl = wolfSSL_new(ctx);
|
||||||
if(ssl == NULL)return SSL_FAILURE;
|
if(ssl == NULL)
|
||||||
|
return SSL_FAILURE;
|
||||||
ctx->mask = wolfSSL_set_options(ssl, opt);
|
ctx->mask = wolfSSL_set_options(ssl, opt);
|
||||||
wolfSSL_free(ssl);
|
wolfSSL_free(ssl);
|
||||||
return ctx->mask;
|
return ctx->mask;
|
||||||
|
Reference in New Issue
Block a user