diff options
author | Pauli <paul.dale@oracle.com> | 2017-09-28 12:13:04 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-09-28 13:14:33 +1000 |
commit | 1f5e0f92808b06cb914f69ced71eccd830fb67e3 (patch) | |
tree | 81b72aa0076629cf8610e2740ae2803894a3041e /crypto/asn1/tasn_dec.c | |
parent | e431363f8c241abd0dfe9b83dfc1cec1bdfe13ab (diff) |
Use safestack.h exclusively internally.
Remove all stack headers from some includes that don't use them.
Avoid a genearic untyped stack use.
Update stack POD file to include the OPENSSL_sk_ API functions in the notes
section. They were mentioned in the name section but not defined anywhere.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4430)
Diffstat (limited to 'crypto/asn1/tasn_dec.c')
-rw-r--r-- | crypto/asn1/tasn_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/tasn_dec.c b/crypto/asn1/tasn_dec.c index c9b637516e..8667bec76a 100644 --- a/crypto/asn1/tasn_dec.c +++ b/crypto/asn1/tasn_dec.c @@ -538,7 +538,7 @@ static int asn1_template_noexp_d2i(ASN1_VALUE **val, } else if (ret == -1) return -1; if (!*val) - *val = (ASN1_VALUE *)OPENSSL_sk_new_null(); + *val = (ASN1_VALUE *)sk_ASN1_VALUE_new_null(); else { /* * We've got a valid STACK: free up any items present |