aboutsummaryrefslogtreecommitdiff
path: root/crypto/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/context.c')
-rw-r--r--crypto/context.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/crypto/context.c b/crypto/context.c
index f15bc3d755e5..1ae88e42aa91 100644
--- a/crypto/context.c
+++ b/crypto/context.c
@@ -219,7 +219,7 @@ static int context_init(OSSL_LIB_CTX *ctx)
return 1;
- err:
+err:
context_deinit_objs(ctx);
if (exdata_done)
@@ -265,7 +265,6 @@ static void context_deinit_objs(OSSL_LIB_CTX *ctx)
ctx->decoder_cache = NULL;
}
-
/* P2. We want encoder_store to be cleaned up before the provider store */
if (ctx->encoder_store != NULL) {
ossl_method_store_free(ctx->encoder_store);
@@ -363,7 +362,6 @@ static void context_deinit_objs(OSSL_LIB_CTX *ctx)
ctx->comp_methods = NULL;
}
#endif
-
}
static int context_deinit(OSSL_LIB_CTX *ctx)
@@ -456,7 +454,7 @@ OSSL_LIB_CTX *OSSL_LIB_CTX_new(void)
#ifndef FIPS_MODULE
OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle,
- const OSSL_DISPATCH *in)
+ const OSSL_DISPATCH *in)
{
OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new();
@@ -472,7 +470,7 @@ OSSL_LIB_CTX *OSSL_LIB_CTX_new_from_dispatch(const OSSL_CORE_HANDLE *handle,
}
OSSL_LIB_CTX *OSSL_LIB_CTX_new_child(const OSSL_CORE_HANDLE *handle,
- const OSSL_DISPATCH *in)
+ const OSSL_DISPATCH *in)
{
OSSL_LIB_CTX *ctx = OSSL_LIB_CTX_new_from_dispatch(handle, in);