improve CMP logging according to comments on CMP chunk 7 preview
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 13 Dec 2019 18:50:20 +0000 (19:50 +0100)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Mon, 17 Feb 2020 06:43:58 +0000 (07:43 +0100)
commitebf3006917e0e968af4a5d5c2c6379c5b866f801
tree3bfed793977233531aeec46da7de1c9044f9ca69
parentfcc25beb7b430fb0588accbb63bf369d914eacba
improve CMP logging according to comments on CMP chunk 7 preview

in particular:
consolidate documentation of CMP logging and error reporting functions
fix compilation problem with clang on some platforms
rename OSSL_CMP_log etc. to ossl_cmp_log etc. since these macros are CMP-internal
move chopping of trailing separator to ossl_cmp_add_error_txt(), also fix handling of leading separator
internalize X509_print_ex_brief() as x509_print_ex_brief()

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/10620)
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_local.h
crypto/cmp/cmp_util.c
doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod
doc/internal/man3/ossl_cmp_print_log.pod [new file with mode: 0644]
doc/man3/OSSL_CMP_log_open.pod
include/openssl/cmp_util.h
test/cmp_ctx_test.c
util/other.syms