Simplify the stack reservation
authorPaul Yang <yang.yang@baishancloud.com>
Thu, 26 Oct 2017 17:56:14 +0000 (01:56 +0800)
committerRich Salz <rsalz@openssl.org>
Thu, 26 Oct 2017 18:34:35 +0000 (14:34 -0400)
commit7a908204ed3afe1379151c6d090148edb2fcc87e
treec59897274c934708a1c630cba56748d784e3c4b7
parent689c17883ac20d0991427b822eb98d2f0e6b78e7
Simplify the stack reservation

Use the newly introduced sk_TYPE_new_reserve API to simplify the
reservation of stack as creating it.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4592)
crypto/async/async.c
crypto/x509v3/v3_alt.c
crypto/x509v3/v3_cpols.c
crypto/x509v3/v3_crld.c
crypto/x509v3/v3_extku.c
crypto/x509v3/v3_info.c
crypto/x509v3/v3_pmaps.c
ssl/ssl_cert.c
ssl/ssl_lib.c