]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix CMS so that it still works with non fetchable algorithms. 12527/head
authorShane Lontis <shane.lontis@oracle.com>
Thu, 20 Aug 2020 03:28:11 +0000 (13:28 +1000)
committerDmitry Belyavskiy <beldmit@gmail.com>
Sat, 22 Aug 2020 08:07:14 +0000 (11:07 +0300)
commit1acb2e6f3540727c4cc9f8388cc0da265e6fe8ab
tree7974da2e8a28b6e74243376d5222aed70abf7f21
parenteed12622faf01369141caa558439ac5f6fd5dcd1
Fix CMS so that it still works with non fetchable algorithms.

Fixes #12633

For CMS the Gost engine still requires calls to EVP_get_digestbyname() and EVP_get_cipherbyname() when
EVP_MD_fetch() and EVP_CIPHER_fetch() return NULL.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/12689)
crypto/cms/cms_enc.c
crypto/cms/cms_env.c
crypto/cms/cms_lib.c
crypto/cms/cms_sd.c