Postpone allocation of STACK internal storage ... until a first push(),
authorFdaSilvaYY <fdasilvayy@gmail.com>
Thu, 28 Sep 2017 20:03:26 +0000 (22:03 +0200)
committerAndy Polyakov <appro@openssl.org>
Tue, 3 Oct 2017 10:50:06 +0000 (12:50 +0200)
commit8e8e507ed720ca0acbeb15e238bf99519a9e7aab
tree009f7d2e5a9afac72fd18e9d1efe335d86395011
parent2dbfa8444bdf7669a54006c4a83d1e60ba374528
Postpone allocation of STACK internal storage ... until a first push(),
insert() or an explicit call to OPENSSL_sk_reserve

Factorise STACK item deletion code

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4379)
crypto/stack/stack.c