Remove CMS recipient info information out of the algorithm implementations
authorMatt Caswell <matt@openssl.org>
Wed, 7 Oct 2020 14:59:28 +0000 (15:59 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 15 Oct 2020 09:00:28 +0000 (10:00 +0100)
commit7022d9b9032794330cd2d753f077670db95d33d4
treed582bbfaf07740c420a4115794fd1210076437b2
parent9ab7fe483629704b09dc43c1998e0e489615390f
Remove CMS recipient info information out of the algorithm implementations

Low level algorithm implementations have no business knowing about details
of the higher level CMS concept. This knowledge is therefore moved into the
CMS layer.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/13088)
crypto/cms/cms_env.c
crypto/dh/dh_ameth.c
crypto/dsa/dsa_ameth.c
crypto/ec/ec_ameth.c
crypto/rsa/rsa_ameth.c