diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-04 15:10:22 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-09-10 07:35:07 +0200 |
commit | 7eb48cfc66372772c088c7ef1f443432a36e8a5c (patch) | |
tree | 6d8646193fd3f8fa0bf9d607f8fdfe9baea9b907 /test | |
parent | eb5087fc7caaf40a2f4dafb294f3cba1b9ca2619 (diff) |
test/cmp_{client,msg}_test.c: minor code cleanup
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12655)
Diffstat (limited to 'test')
-rw-r--r-- | test/cmp_client_test.c | 2 | ||||
-rw-r--r-- | test/cmp_msg_test.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/cmp_client_test.c b/test/cmp_client_test.c index 111a4c27f4..9043ee1196 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 a56f04f1df..a593f37cfc 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) |