Add output routines to allow consistent formatting of memory, strings
authorPauli <paul.dale@oracle.com>
Mon, 12 Jun 2017 00:01:17 +0000 (10:01 +1000)
committerRich Salz <rsalz@openssl.org>
Fri, 16 Jun 2017 20:15:31 +0000 (16:15 -0400)
commit3791646202bb4da21992b0aecae253d394507a9e
treecc1f33ab05144ec2442df45366fac1175fcaca16
parent5511101ad86fdd5bc3ad4f27143e93ae14737bfe
Add output routines to allow consistent formatting of memory, strings
and bignums.  These have been refactored into their own file, along with
their error displays.  The formatting follows the output format used
on error, except that bignums of sixty four bits or less are displayed
in a more compact one line form.

Added a TEST_note function for producing output without file and line
information.

Update the three tests that call BN_print so they use the new test
infrastructure instead.

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3655)
test/build.info
test/ectest.c
test/exptest.c
test/igetest.c
test/srptest.c
test/test_test.c
test/testutil.h
test/testutil/driver.c
test/testutil/format_output.c [new file with mode: 0644]
test/testutil/tests.c
test/testutil/tu_local.h