diff options
Diffstat (limited to 'providers/baseprov.c')
| -rw-r--r-- | providers/baseprov.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/providers/baseprov.c b/providers/baseprov.c index c7c72cbc8e65..16d2f91bb1ac 100644 --- a/providers/baseprov.c +++ b/providers/baseprov.c @@ -53,7 +53,7 @@ static int base_get_params(void *provctx, OSSL_PARAM params[]) p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_NAME); if (p != NULL - && !OSSL_PARAM_set_utf8_ptr(p, "OpenSSL Base Provider")) + && !OSSL_PARAM_set_utf8_ptr(p, "OpenSSL Base Provider")) return 0; p = OSSL_PARAM_locate(params, OSSL_PROV_PARAM_VERSION); if (p != NULL && !OSSL_PARAM_set_utf8_ptr(p, OPENSSL_VERSION_STR)) @@ -83,7 +83,7 @@ static const OSSL_ALGORITHM base_decoder[] = { }; static const OSSL_ALGORITHM base_store[] = { -#define STORE(name, _fips, func_table) \ +#define STORE(name, _fips, func_table) \ { name, "provider=base,fips=" _fips, (func_table) }, #include "stores.inc" @@ -100,7 +100,7 @@ static const OSSL_ALGORITHM base_rands[] = { }; static const OSSL_ALGORITHM *base_query(void *provctx, int operation_id, - int *no_cache) + int *no_cache) { *no_cache = 0; switch (operation_id) { @@ -126,7 +126,7 @@ static void base_teardown(void *provctx) static const OSSL_DISPATCH base_dispatch_table[] = { { OSSL_FUNC_PROVIDER_TEARDOWN, (void (*)(void))base_teardown }, { OSSL_FUNC_PROVIDER_GETTABLE_PARAMS, - (void (*)(void))base_gettable_params }, + (void (*)(void))base_gettable_params }, { OSSL_FUNC_PROVIDER_GET_PARAMS, (void (*)(void))base_get_params }, { OSSL_FUNC_PROVIDER_QUERY_OPERATION, (void (*)(void))base_query }, OSSL_DISPATCH_END @@ -135,8 +135,8 @@ static const OSSL_DISPATCH base_dispatch_table[] = { OSSL_provider_init_fn ossl_base_provider_init; int ossl_base_provider_init(const OSSL_CORE_HANDLE *handle, - const OSSL_DISPATCH *in, const OSSL_DISPATCH **out, - void **provctx) + const OSSL_DISPATCH *in, const OSSL_DISPATCH **out, + void **provctx) { OSSL_FUNC_core_get_libctx_fn *c_get_libctx = NULL; BIO_METHOD *corebiometh; @@ -172,13 +172,13 @@ int ossl_base_provider_init(const OSSL_CORE_HANDLE *handle, * create their own library context. */ if ((*provctx = ossl_prov_ctx_new()) == NULL - || (corebiometh = ossl_bio_prov_init_bio_method()) == NULL) { + || (corebiometh = ossl_bio_prov_init_bio_method()) == NULL) { ossl_prov_ctx_free(*provctx); *provctx = NULL; return 0; } ossl_prov_ctx_set0_libctx(*provctx, - (OSSL_LIB_CTX *)c_get_libctx(handle)); + (OSSL_LIB_CTX *)c_get_libctx(handle)); ossl_prov_ctx_set0_handle(*provctx, handle); ossl_prov_ctx_set0_core_bio_method(*provctx, corebiometh); ossl_prov_ctx_set0_core_get_params(*provctx, c_get_params); |
