testutil: Add OpenSSL error stack printing wrapper TEST_openssl_errors
authorRichard Levitte <levitte@openssl.org>
Fri, 28 Apr 2017 12:48:13 +0000 (14:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Fri, 28 Apr 2017 13:59:46 +0000 (15:59 +0200)
commit68e49bf22384c33494886eb95d78f1f69f433781
treeb8cbbef2d6a6ce3779d873d809c88ce99ec2ae8f
parent603ddbdb7527710c293a762aa5eed51ad05646b3
testutil: Add OpenSSL error stack printing wrapper TEST_openssl_errors

Also added a internal error printing callback to be used both with
ERR_print_errors_cb() and with CRYPTO_mem_leaks_cb

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3345)
test/build.info
test/testutil.h
test/testutil/cb.c [new file with mode: 0644]
test/testutil/driver.c
test/testutil/tests.c
test/testutil/tu_local.h