diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-10-11 21:20:19 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-10-15 15:36:58 +0100 |
commit | 272d917deb0534a6a9b13e22ff16e4c95406d1ed (patch) | |
tree | 6cb58f28dab38c3f9ae6ec4d8821a151c46ceee8 /CHANGES | |
parent | 4002da0f52828dc4a495f7ac163d9e77c2774f3e (diff) |
add CHANGES entry for embed
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -3,6 +3,27 @@ _______________ Changes between 1.0.2 and 1.1.0 [xx XXX xxxx] + + *) New ASN.1 embed macro. + + New ASN.1 macro ASN1_EMBED. This is the same as ASN1_SIMPLE except the + structure is not allocated: it is part of the parent. That is instead of + + FOO *x; + + it must be: + + FOO x; + + This reduces memory fragmentation and make it impossible to accidentally + set a mandatory field to NULL. + + This currently only works for some fields specifically a SEQUENCE, CHOICE, + or ASN1_STRING type which is part of a parent SEQUENCE. Since it is + equivalent to ASN1_SIMPLE it cannot be tagged, OPTIONAL, SET OF or + SEQUENCE OF. + [Steve Henson] + *) Remove EVP_CHECK_DES_KEY, a compile-time option that never compiled. [Emilia Käsper] |