Revert "stack/stack.c: omit redundant NULL checks."
authorMatt Caswell <matt@openssl.org>
Wed, 8 Aug 2018 15:53:36 +0000 (16:53 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 9 Aug 2018 13:37:10 +0000 (14:37 +0100)
commit1049ae985e58f87e433b6b00f08853914147adac
tree06540307f0e8f8ef5efa363041149f28947af417
parent9b287d53db2596a62fc0b94557d521a43f067e81
Revert "stack/stack.c: omit redundant NULL checks."

This reverts commit 8839324450b569a6253e0dd237ee3e417ef17771.

Removing these checks changes the behaviour of the API which is not
appropriate for a minor release. This also fixes a failure in the
fuzz tests when building with no-comp.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6895)
crypto/stack/stack.c