diff options
author | Matt Caswell <matt@openssl.org> | 2020-09-03 16:56:05 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-09-13 12:10:41 +0200 |
commit | 0b282540158bc4a7a291af7427a8da76f0a4980a (patch) | |
tree | edaf198d40a187bc652a26d01ace84fc51d444b5 /crypto/asn1 | |
parent | Fix safestack issues in ct.h (diff) | |
download | openssl-0b282540158bc4a7a291af7427a8da76f0a4980a.tar.xz openssl-0b282540158bc4a7a291af7427a8da76f0a4980a.zip |
Fix safestack issues in asn1t.h
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12781)
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/tasn_dec.c | 2 | ||||
-rw-r--r-- | crypto/asn1/tasn_fre.c | 2 | ||||
-rw-r--r-- | crypto/asn1/tasn_new.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index 379d1e6ee1..740707f853 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -17,8 +17,6 @@ #include "internal/numbers.h" #include "asn1_local.h" -DEFINE_STACK_OF(ASN1_VALUE) - /* * Constructed types with a recursive definition (such as can be found in PKCS7) * could eventually exceed the stack given malicious input with excessive diff --git a/crypto/asn1/tasn_fre.c b/crypto/asn1/tasn_fre.c index 9bd2099c5e..3a5b29f37d 100644 --- a/crypto/asn1/tasn_fre.c +++ b/crypto/asn1/tasn_fre.c @@ -13,8 +13,6 @@ #include <openssl/objects.h> #include "asn1_local.h" -DEFINE_STACK_OF(ASN1_VALUE) - /* Free up an ASN1 structure */ void ASN1_item_free(ASN1_VALUE *val, const ASN1_ITEM *it) diff --git a/crypto/asn1/tasn_new.c b/crypto/asn1/tasn_new.c index 48ba9f3f74..5bdcf461a5 100644 --- a/crypto/asn1/tasn_new.c +++ b/crypto/asn1/tasn_new.c @@ -15,8 +15,6 @@ #include <string.h> #include "asn1_local.h" -DEFINE_STACK_OF(ASN1_VALUE) - static int asn1_item_embed_new(ASN1_VALUE **pval, const ASN1_ITEM *it, int embed); static int asn1_primitive_new(ASN1_VALUE **pval, const ASN1_ITEM *it, |