summaryrefslogtreecommitdiffstats
path: root/test/build.info
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2020-05-26 12:44:36 +1000
committerShane Lontis <shane.lontis@oracle.com>2020-05-26 12:44:36 +1000
commitf32af93c924dca25728d8e7b85b8e4b660154e12 (patch)
treecd3011c4dfe565e6fd4950d47db7d30bfadd7953 /test/build.info
parent1bdd86fb1ca40dd3536abf16b6273230c15537b6 (diff)
Fix ERR_print_errors so that it matches the documented format in doc/man3/ERR_error_string.pod
Fixes #11743 The ouput format had 2 issues that caused it not to match the expected documented format: (1) At some point the thread id printing was changed to use the OPENSSL_hex2str method which puts ':' between hex bytes. An internal function that skips the seperator has been added. (2) The error code no longer exists. So this was completely removed from the string. It is now replaced by :: As an example: 00:77:6E:52:14:7F:00:00:error:asn1 encoding routines:asn1_check_tlen:wrong tag:crypto/asn1/tasn_dec.c:1135: Is now: 00776E52147F0000:error::asn1 encoding routines:asn1_check_tlen:wrong tag:crypto/asn1/tasn_dec.c:1135: Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/11789)
Diffstat (limited to 'test/build.info')
-rw-r--r--test/build.info7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/build.info b/test/build.info
index 112b68c22f..9697e55f12 100644
--- a/test/build.info
+++ b/test/build.info
@@ -54,7 +54,7 @@ IF[{- !$disabled{tests} -}]
http_test servername_test ocspapitest fatalerrtest tls13ccstest \
sysdefaulttest errtest ssl_ctx_test gosttest \
context_internal_test aesgcmtest params_test evp_pkey_dparams_test \
- keymgmt_internal_test
+ keymgmt_internal_test hexstr_test
SOURCE[confdump]=confdump.c
INCLUDE[confdump]=../include ../apps/include
@@ -736,6 +736,11 @@ IF[{- !$disabled{tests} -}]
INCLUDE[params_test]=.. ../include ../apps/include
DEPEND[params_test]=../libcrypto.a libtestutil.a
+ PROGRAMS{noinst}=hexstr_test
+ SOURCE[hexstr_test]=hexstr_test.c
+ INCLUDE[hexstr_test]=.. ../include ../apps/include
+ DEPEND[hexstr_test]=../libcrypto.a libtestutil.a
+
PROGRAMS{noinst}=namemap_internal_test
SOURCE[namemap_internal_test]=namemap_internal_test.c
INCLUDE[namemap_internal_test]=.. ../include ../apps/include