diff options
Diffstat (limited to 'crypto/openssl/providers/implementations/digests/md5_sha1_prov.c')
| -rw-r--r-- | crypto/openssl/providers/implementations/digests/md5_sha1_prov.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/openssl/providers/implementations/digests/md5_sha1_prov.c b/crypto/openssl/providers/implementations/digests/md5_sha1_prov.c index 9735c3f7e40f..ebf64f39b35f 100644 --- a/crypto/openssl/providers/implementations/digests/md5_sha1_prov.c +++ b/crypto/openssl/providers/implementations/digests/md5_sha1_prov.c @@ -26,12 +26,12 @@ static OSSL_FUNC_digest_set_ctx_params_fn md5_sha1_set_ctx_params; static OSSL_FUNC_digest_settable_ctx_params_fn md5_sha1_settable_ctx_params; static const OSSL_PARAM known_md5_sha1_settable_ctx_params[] = { - {OSSL_DIGEST_PARAM_SSL3_MS, OSSL_PARAM_OCTET_STRING, NULL, 0, 0}, + { OSSL_DIGEST_PARAM_SSL3_MS, OSSL_PARAM_OCTET_STRING, NULL, 0, 0 }, OSSL_PARAM_END }; static const OSSL_PARAM *md5_sha1_settable_ctx_params(ossl_unused void *ctx, - ossl_unused void *provctx) + ossl_unused void *provctx) { return known_md5_sha1_settable_ctx_params; } @@ -50,7 +50,7 @@ static int md5_sha1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) p = OSSL_PARAM_locate_const(params, OSSL_DIGEST_PARAM_SSL3_MS); if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING) return ossl_md5_sha1_ctrl(ctx, EVP_CTRL_SSL3_MASTER_SECRET, - p->data_size, p->data); + p->data_size, p->data); return 1; } |
