Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cdf5bb5

Browse files
committed
remove ossl_prov_digest_load_from_params()
This is no longer used or needed and is internal, so away it goes.
1 parent 2b3835b commit cdf5bb5

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

providers/common/include/prov/provider_util.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,10 @@ const EVP_MD *ossl_prov_digest_fetch(PROV_DIGEST *pd, OSSL_LIB_CTX *libctx,
7171

7272
/*
7373
* Load a digest from the specified parameters with the specified context.
74-
* The params "properties", "engine" and "digest" are used to determine the
74+
* The params "propq", "engine" and "digest" are used to determine the
7575
* implementation used. If a provider cannot be found, it falls back to trying
7676
* non-provider based implementations.
7777
*/
78-
int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
79-
const OSSL_PARAM params[],
80-
OSSL_LIB_CTX *ctx);
8178
int ossl_prov_digest_load(PROV_DIGEST *pd,const OSSL_PARAM *digest,
8279
const OSSL_PARAM *propq, const OSSL_PARAM *engine,
8380
OSSL_LIB_CTX *ctx);

providers/common/provider_util.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -212,17 +212,6 @@ int ossl_prov_digest_load(PROV_DIGEST *pd, const OSSL_PARAM *digest,
212212
return pd->md != NULL;
213213
}
214214

215-
int ossl_prov_digest_load_from_params(PROV_DIGEST *pd,
216-
const OSSL_PARAM params[],
217-
OSSL_LIB_CTX *ctx)
218-
{
219-
return ossl_prov_digest_load(pd,
220-
OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_DIGEST),
221-
OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_PROPERTIES),
222-
OSSL_PARAM_locate_const(params, OSSL_ALG_PARAM_ENGINE),
223-
ctx);
224-
}
225-
226215
void ossl_prov_digest_set_md(PROV_DIGEST *pd, EVP_MD *md)
227216
{
228217
ossl_prov_digest_reset(pd);

0 commit comments

Comments
 (0)