From: Dmitry Belyavskiy Date: Wed, 6 May 2020 17:45:02 +0000 (+0300) Subject: Allow GOST 2001 CMS decryption X-Git-Tag: v3.0.0~149 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=a2ecd9682b076731befba14f8ac02ba97db99451;p=openssl-gost%2Fengine.git Allow GOST 2001 CMS decryption --- diff --git a/gost_ameth.c b/gost_ameth.c index de1cdca..478b52f 100644 --- a/gost_ameth.c +++ b/gost_ameth.c @@ -340,6 +340,8 @@ static int gost_cms_set_ktri_shared_info(EVP_PKEY_CTX *pctx, CMS_RecipientInfo * gctx->cipher_nid = NID_magma_ctr; break; + case NID_id_GostR3410_2001: + case NID_id_GostR3410_2001DH: case NID_id_GostR3410_2012_256: case NID_id_GostR3410_2012_512: gctx->cipher_nid = NID_id_Gost28147_89;