Add libctx to SMIME ASN1
authorShane Lontis <shane.lontis@oracle.com>
Sat, 25 Jul 2020 08:59:28 +0000 (18:59 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Sun, 9 Aug 2020 07:34:52 +0000 (17:34 +1000)
commit45b22d6a35678ac3f22a18302a2647bfd9cb244c
tree8ede4a5510966c769e4a3a43d98d179d4c88e985
parentdcc679cd99835560d75a84719ab73a70a952f035
Add libctx to SMIME ASN1

Added SMIME_write_ASN1_with_libctx() since it fetches rand internally.
Added SMIME_read_CMS_ex() so that a created object (CMS_ContentInfo) can be passed to the read.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11884)
crypto/asn1/asn_mime.c
include/openssl/asn1.h