test/errtest.c: more conditions for checking __FILE__ and __LINE__
authorRichard Levitte <levitte@openssl.org>
Tue, 3 Sep 2019 13:10:43 +0000 (15:10 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 3 Sep 2019 13:10:43 +0000 (15:10 +0200)
commit8648a50a2704307fa4633b3d11724dfdae11f125
tree26acd98413359f529fc5d35ddcd0ac66116c11af
parent3ca9d210c94b9b88b89b224797aa403dfe97ccce
test/errtest.c: more conditions for checking __FILE__ and __LINE__

When at least one of OPENSSL_NO_ERR or OPENSSL_NO_FILENAMES is
defined, __FILE__ and __LINE__ are not saved with the error record.
This test only checked OPENSSL_NO_FILENAMES.  Now fixed.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9755)
test/errtest.c