diff options
author | sashan <anedvedicky@gmail.com> | 2024-01-08 22:53:42 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-01-11 10:27:08 +0100 |
commit | 5588b2db4ada64ffad31ba187fe4ca598706b86d (patch) | |
tree | 3bb642640529695df8616e7b9fa7752a4f3ce3db /crypto | |
parent | e751c109d68602b75cc6b8e0f9f3a128354aaad5 (diff) |
evp_fetch.c: Check meth_id instead of name_id
Fixes #23226
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23238)
(cherry picked from commit da840c3775f52fc9766c654b5ad6ee031ffc9fd9)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp_fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp_fetch.c b/crypto/evp/evp_fetch.c index f39cd2344a..a1d58ee6a0 100644 --- a/crypto/evp/evp_fetch.c +++ b/crypto/evp/evp_fetch.c @@ -365,7 +365,7 @@ inner_evp_generic_fetch(struct evp_method_data_st *methdata, method = NULL; } else { meth_id = evp_method_id(name_id, operation_id); - if (name_id != 0) + if (meth_id != 0) ossl_method_store_cache_set(store, prov, meth_id, propq, method, up_ref_method, free_method); } |