diff options
| author | Bob Beck <[email protected]> | 2026-08-06 21:39:50 +0200 |
|---|---|---|
| committer | Tomas Mraz <[email protected]> | 2026-09-01 15:56:24 +0200 |
| commit | 031dddc69998b3d76446e41680c7917216b4f772 (patch) | |
| tree | ceacaff71336cb89233a74ee3cf8f6660c3eafab /include | |
| parent | Remove dead code from pkcs7 (diff) | |
| download | openssl-031dddc69998b3d76446e41680c7917216b4f772.tar.gz openssl-031dddc69998b3d76446e41680c7917216b4f772.zip | |
Store the CMS created-content state in CMS_ContentInfo
Whether the content octet string was created locally (to be filled in)
or read in via d2i is CMS's own state; it was being kept in the
ASN1_STRING via ASN1_STRING_FLAG_CONT, of which the only user was
CMS. Track it in a CMS_ContentInfo field instead of using ASN1_STRING
as a convenient internal state toilet. No change in behaviour.
Reviewed-by: Andrew Dinh <[email protected]>
Reviewed-by: Viktor Dukhovni <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
Merge-date: Tue Sep 1 13:56:40 2026
Merged-from: https://github.com/openssl/openssl/pull/32242
Diffstat (limited to 'include')
| -rw-r--r-- | include/crypto/asn1.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h index 546d86a4113..7000d7d33d4 100644 --- a/include/crypto/asn1.h +++ b/include/crypto/asn1.h @@ -27,14 +27,6 @@ * inserted in the memory buffer */ #define ASN1_STRING_FLAG_NDEF 0x010 - -/* - * This flag is used by the CMS code to indicate that a string is not - * complete and is a place holder for content when it had all been accessed. - * The flag will be reset when content has been written to it. - */ - -#define ASN1_STRING_FLAG_CONT 0x020 /* * This flag is used by ASN1 code to indicate an ASN1_STRING is an MSTRING * type. |
