Return correct enveloped data type in ASN1 methods.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 17 Jul 2013 14:18:01 +0000 (15:18 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 17 Jul 2013 20:45:01 +0000 (21:45 +0100)
commit41b920ef01abeb4c4b1c0f11e647370ae6533d02
treecb7342b33dfb8a333741e4a4ccc7e62b40909600
parent88e20b8584a78c803eca7aa9fcf8c46ff0ece4ae
Return correct enveloped data type in ASN1 methods.

For RSA and DSA keys return an appropriate RecipientInfo type. By setting
CMS_RECIPINFO_NONE for DSA keys an appropriate error is returned if
an attempt is made to use DSA with enveloped data.
crypto/dsa/dsa_ameth.c
crypto/rsa/rsa_ameth.c