From: Dr. David von Oheimb Date: Fri, 4 Sep 2020 13:10:22 +0000 (+0200) Subject: test/cmp_{client,msg}_test.c: minor code cleanup X-Git-Tag: openssl-3.0.0-alpha7~335 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7eb48cfc66372772c088c7ef1f443432a36e8a5c;p=thirdparty%2Fopenssl.git test/cmp_{client,msg}_test.c: minor code cleanup Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/12655) --- diff --git a/test/cmp_client_test.c b/test/cmp_client_test.c index 111a4c27f4a..9043ee11968 100644 --- a/test/cmp_client_test.c +++ b/test/cmp_client_test.c @@ -350,7 +350,7 @@ void cleanup_tests(void) return; } -#define USAGE "server.key server.crt client.key client.crt client.csr module_name [module_conf_file]\n" +# define USAGE "server.key server.crt client.key client.crt client.csr module_name [module_conf_file]\n" OPT_TEST_DECLARE_USAGE(USAGE) int setup_tests(void) diff --git a/test/cmp_msg_test.c b/test/cmp_msg_test.c index a56f04f1df7..a593f37cfce 100644 --- a/test/cmp_msg_test.c +++ b/test/cmp_msg_test.c @@ -86,6 +86,7 @@ static X509 *cert = NULL; TEST_ptr_null(msg = (expr)); \ \ OSSL_CMP_MSG_free(msg); \ + ERR_print_errors_fp(stderr); \ return good; \ } while (0)