diff options
author | Andy Polyakov <appro@openssl.org> | 2018-08-05 16:56:54 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-08-07 08:57:02 +0200 |
commit | 8839324450b569a6253e0dd237ee3e417ef17771 (patch) | |
tree | 356e698dd18f5941f1846670bd2f5bbcf3aea5ac /include | |
parent | 5b37fef04a2b765835361f0652aaa0c41ed1b842 (diff) |
stack/stack.c: omit redundant NULL checks.
Checks are left in OPENSSL_sk_shift, OPENSSL_sk_pop and OPENSSL_sk_num.
This is because these are used as "opportunistic" readers, pulling
whatever datai, if any, set by somebody else. All calls that add data
don't check for stack being NULL, because caller should have checked
if stack was actually created.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6860)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions