diff options
author | Pauli <paul.dale@oracle.com> | 2017-07-06 09:10:28 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2017-07-14 07:31:29 +1000 |
commit | 9e206ce5f80172136b503ca23fbd8e53b78eb4b7 (patch) | |
tree | d3942855040ebee306a234140f9f62b5d33177f3 /test/danetest.c | |
parent | d72a00416a0691bfd4920008767221bb4082a2ed (diff) | |
download | openssl-9e206ce5f80172136b503ca23fbd8e53b78eb4b7.zip openssl-9e206ce5f80172136b503ca23fbd8e53b78eb4b7.tar.gz openssl-9e206ce5f80172136b503ca23fbd8e53b78eb4b7.tar.bz2 |
Fix some issues raise by coverity in the tests.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3846)
Diffstat (limited to 'test/danetest.c')
-rw-r--r-- | test/danetest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/danetest.c b/test/danetest.c index 89d6fb8..a0fd0ce 100644 --- a/test/danetest.c +++ b/test/danetest.c @@ -133,6 +133,8 @@ static STACK_OF(X509) *load_chain(BIO *fp, int nelem) OPENSSL_free(name); OPENSSL_free(header); OPENSSL_free(data); + name = header = NULL; + data = NULL; } if (count == nelem) { |