diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2015-10-03 17:15:15 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2015-10-05 03:31:41 +0100 |
commit | f93ad22f6adb00e722c130e792799467f3927b56 (patch) | |
tree | 8a9470409c9bb10c1daf071ef5867ac3dd9d7b51 /include | |
parent | 605236f6a8fe0743af2f63d93239a74c69dae137 (diff) |
Free up ASN.1 structures at top level only.
When a decoding error in ASN.1 occurs only free up the partial structure
at the top level. This simplifies embedded handling and fixes freeing
up of structures when presented with malformed input.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/asn1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/asn1.h b/include/openssl/asn1.h index 3a67d61f7b..2405bd68d1 100644 --- a/include/openssl/asn1.h +++ b/include/openssl/asn1.h @@ -942,7 +942,7 @@ void ERR_load_ASN1_strings(void); # define ASN1_F_ASN1_INTEGER_TO_BN 119 # define ASN1_F_ASN1_ITEM_D2I_FP 206 # define ASN1_F_ASN1_ITEM_DUP 191 -# define ASN1_F_ASN1_ITEM_EX_D2I 120 +# define ASN1_F_ASN1_ITEM_EMBED_D2I 120 # define ASN1_F_ASN1_ITEM_EMBED_NEW 121 # define ASN1_F_ASN1_ITEM_I2D_BIO 192 # define ASN1_F_ASN1_ITEM_I2D_FP 193 |