summaryrefslogtreecommitdiffstats
path: root/crypto/evp/m_sigver.c
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-03-02 16:55:48 +0100
committerTomas Mraz <tomas@openssl.org>2021-03-04 14:15:01 +0100
commit22cd04143b2cd21f3285369659e98617dd0a482d (patch)
tree7c74a3bea65f299c75eb0bf6e2f0a45389341adc /crypto/evp/m_sigver.c
parent0be6cf0c7e3770b0b66862a7212dc8922f4fadd7 (diff)
do_sigver_init: Remove fallback for missing provider implementations.
We now have everything implemented in providers. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14404)
Diffstat (limited to 'crypto/evp/m_sigver.c')
-rw-r--r--crypto/evp/m_sigver.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/crypto/evp/m_sigver.c b/crypto/evp/m_sigver.c
index 795b785983..7650512d2a 100644
--- a/crypto/evp/m_sigver.c
+++ b/crypto/evp/m_sigver.c
@@ -90,17 +90,6 @@ static int do_sigver_init(EVP_MD_CTX *ctx, EVP_PKEY_CTX **pctx,
provkey = evp_pkey_export_to_provider(locpctx->pkey, locpctx->libctx,
&tmp_keymgmt, locpctx->propquery);
if (provkey == NULL) {
- /*
- * If we couldn't find a keymgmt at all try legacy.
- * TODO(3.0): Once all legacy algorithms (SM2, HMAC etc) have provider
- * based implementations this fallback shouldn't be necessary. Either
- * we have an ENGINE based implementation (in which case we should have
- * already fallen back in the test above here), or we don't have the
- * provider based implementation loaded (in which case this is an
- * application config error)
- */
- if (locpctx->keymgmt == NULL)
- goto legacy;
ERR_raise(ERR_LIB_EVP, EVP_R_INITIALIZATION_ERROR);
goto err;
}