summaryrefslogtreecommitdiffstats
path: root/providers/implementations/serializers/serializer_dh_param.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/serializers/serializer_dh_param.c')
-rw-r--r--providers/implementations/serializers/serializer_dh_param.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/providers/implementations/serializers/serializer_dh_param.c b/providers/implementations/serializers/serializer_dh_param.c
index 7254695697..49c0857734 100644
--- a/providers/implementations/serializers/serializer_dh_param.c
+++ b/providers/implementations/serializers/serializer_dh_param.c
@@ -24,15 +24,15 @@
#include "prov/provider_ctx.h"
#include "serializer_local.h"
-static OSSL_OP_serializer_newctx_fn dh_param_newctx;
-static OSSL_OP_serializer_freectx_fn dh_param_freectx;
-static OSSL_OP_serializer_serialize_data_fn dh_param_der_data;
-static OSSL_OP_serializer_serialize_object_fn dh_param_der;
-static OSSL_OP_serializer_serialize_data_fn dh_param_pem_data;
-static OSSL_OP_serializer_serialize_object_fn dh_param_pem;
+static OSSL_FUNC_serializer_newctx_fn dh_param_newctx;
+static OSSL_FUNC_serializer_freectx_fn dh_param_freectx;
+static OSSL_FUNC_serializer_serialize_data_fn dh_param_der_data;
+static OSSL_FUNC_serializer_serialize_object_fn dh_param_der;
+static OSSL_FUNC_serializer_serialize_data_fn dh_param_pem_data;
+static OSSL_FUNC_serializer_serialize_object_fn dh_param_pem;
-static OSSL_OP_serializer_serialize_data_fn dh_param_print_data;
-static OSSL_OP_serializer_serialize_object_fn dh_param_print;
+static OSSL_FUNC_serializer_serialize_data_fn dh_param_print_data;
+static OSSL_FUNC_serializer_serialize_object_fn dh_param_print;
/* Parameters : context */
@@ -53,9 +53,9 @@ static int dh_param_der_data(void *ctx, const OSSL_PARAM params[],
OSSL_CORE_BIO *out,
OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg)
{
- OSSL_OP_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
- OSSL_OP_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
- OSSL_OP_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
+ OSSL_FUNC_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
+ OSSL_FUNC_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
+ OSSL_FUNC_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
int ok = 0;
if (dh_import != NULL) {
@@ -90,9 +90,9 @@ static int dh_param_pem_data(void *ctx, const OSSL_PARAM params[],
OSSL_CORE_BIO *out,
OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg)
{
- OSSL_OP_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
- OSSL_OP_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
- OSSL_OP_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
+ OSSL_FUNC_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
+ OSSL_FUNC_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
+ OSSL_FUNC_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
int ok = 0;
if (dh_import != NULL) {
@@ -127,9 +127,9 @@ static int dh_param_print_data(void *ctx, const OSSL_PARAM params[],
OSSL_CORE_BIO *out,
OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg)
{
- OSSL_OP_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
- OSSL_OP_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
- OSSL_OP_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
+ OSSL_FUNC_keymgmt_new_fn *dh_new = ossl_prov_get_keymgmt_dh_new();
+ OSSL_FUNC_keymgmt_free_fn *dh_free = ossl_prov_get_keymgmt_dh_free();
+ OSSL_FUNC_keymgmt_import_fn *dh_import = ossl_prov_get_keymgmt_dh_import();
int ok = 0;
if (dh_import != NULL) {