[openssl/openssl] 13342e: Do not raise CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA...
Olga Batyshkina
noreply at github.com
Thu Aug 10 10:13:14 UTC 2023
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 13342efbb9e16ec8f97b1ac5ab4aa2b3b3490596
https://github.com/openssl/openssl/commit/13342efbb9e16ec8f97b1ac5ab4aa2b3b3490596
Author: Olga Batyshkina <obatysh at gmx.com>
Date: 2023-08-10 (Thu, 10 Aug 2023)
Changed paths:
M crypto/cms/cms_env.c
M crypto/cms/cms_lib.c
M crypto/cms/cms_local.h
M test/cmsapitest.c
Log Message:
-----------
Do not raise CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA error in CMS_ContentInfo_free
This happens if this function is called for signed content.
Added ossl_cms_env_enc_content_free() for cleaning enveloped content.
Fixed indentation in ossl_cms_env_enc_content_free
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21676)
More information about the openssl-commits
mailing list