diff options
Diffstat (limited to 'providers/implementations/serializers/serializer_dsa_priv.c')
-rw-r--r-- | providers/implementations/serializers/serializer_dsa_priv.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/providers/implementations/serializers/serializer_dsa_priv.c b/providers/implementations/serializers/serializer_dsa_priv.c index 4e9f80056e..637b1126b1 100644 --- a/providers/implementations/serializers/serializer_dsa_priv.c +++ b/providers/implementations/serializers/serializer_dsa_priv.c @@ -25,19 +25,19 @@ #include "prov/provider_ctx.h" #include "serializer_local.h" -static OSSL_OP_serializer_newctx_fn dsa_priv_newctx; -static OSSL_OP_serializer_freectx_fn dsa_priv_freectx; -static OSSL_OP_serializer_set_ctx_params_fn dsa_priv_set_ctx_params; -static OSSL_OP_serializer_settable_ctx_params_fn dsa_priv_settable_ctx_params; -static OSSL_OP_serializer_serialize_data_fn dsa_priv_der_data; -static OSSL_OP_serializer_serialize_object_fn dsa_priv_der; -static OSSL_OP_serializer_serialize_data_fn dsa_pem_priv_data; -static OSSL_OP_serializer_serialize_object_fn dsa_pem_priv; - -static OSSL_OP_serializer_newctx_fn dsa_print_newctx; -static OSSL_OP_serializer_freectx_fn dsa_print_freectx; -static OSSL_OP_serializer_serialize_data_fn dsa_priv_print_data; -static OSSL_OP_serializer_serialize_object_fn dsa_priv_print; +static OSSL_FUNC_serializer_newctx_fn dsa_priv_newctx; +static OSSL_FUNC_serializer_freectx_fn dsa_priv_freectx; +static OSSL_FUNC_serializer_set_ctx_params_fn dsa_priv_set_ctx_params; +static OSSL_FUNC_serializer_settable_ctx_params_fn dsa_priv_settable_ctx_params; +static OSSL_FUNC_serializer_serialize_data_fn dsa_priv_der_data; +static OSSL_FUNC_serializer_serialize_object_fn dsa_priv_der; +static OSSL_FUNC_serializer_serialize_data_fn dsa_pem_priv_data; +static OSSL_FUNC_serializer_serialize_object_fn dsa_pem_priv; + +static OSSL_FUNC_serializer_newctx_fn dsa_print_newctx; +static OSSL_FUNC_serializer_freectx_fn dsa_print_freectx; +static OSSL_FUNC_serializer_serialize_data_fn dsa_priv_print_data; +static OSSL_FUNC_serializer_serialize_object_fn dsa_priv_print; /* * Context used for private key serialization. @@ -123,9 +123,9 @@ static int dsa_priv_der_data(void *vctx, const OSSL_PARAM params[], OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) { struct dsa_priv_ctx_st *ctx = vctx; - OSSL_OP_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); - OSSL_OP_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); - OSSL_OP_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); + OSSL_FUNC_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); + OSSL_FUNC_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); + OSSL_FUNC_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); int ok = 0; if (dsa_import != NULL) { @@ -168,9 +168,9 @@ static int dsa_pem_priv_data(void *vctx, const OSSL_PARAM params[], OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) { struct dsa_priv_ctx_st *ctx = vctx; - OSSL_OP_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); - OSSL_OP_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); - OSSL_OP_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); + OSSL_FUNC_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); + OSSL_FUNC_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); + OSSL_FUNC_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); int ok = 0; if (dsa_import != NULL) { @@ -224,9 +224,9 @@ static int dsa_priv_print_data(void *vctx, const OSSL_PARAM params[], OSSL_PASSPHRASE_CALLBACK *cb, void *cbarg) { struct dsa_priv_ctx_st *ctx = vctx; - OSSL_OP_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); - OSSL_OP_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); - OSSL_OP_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); + OSSL_FUNC_keymgmt_new_fn *dsa_new = ossl_prov_get_keymgmt_dsa_new(); + OSSL_FUNC_keymgmt_free_fn *dsa_free = ossl_prov_get_keymgmt_dsa_free(); + OSSL_FUNC_keymgmt_import_fn *dsa_import = ossl_prov_get_keymgmt_dsa_import(); int ok = 0; if (dsa_import != NULL) { |