From a43ce58f5569a160272c492c680f2e42d38ec769 Mon Sep 17 00:00:00 2001 From: Shane Lontis Date: Thu, 16 Aug 2018 12:36:01 +1000 Subject: Updated test command line parsing to support commmon commands Reviewed-by: Paul Dale Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/6975) --- test/cmsapitest.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'test/cmsapitest.c') diff --git a/test/cmsapitest.c b/test/cmsapitest.c index a79ae8c043..2ea8af58b3 100644 --- a/test/cmsapitest.c +++ b/test/cmsapitest.c @@ -1,3 +1,12 @@ +/* + * Copyright 2018 The OpenSSL Project Authors. All Rights Reserved. + * + * Licensed under the OpenSSL license (the "License"). You may not use + * this file except in compliance with the License. You can obtain a copy + * in the file LICENSE in the source distribution or at + * https://www.openssl.org/source/license.html + */ + #include #include @@ -49,6 +58,8 @@ static int test_encrypt_decrypt(void) return testresult; } +OPT_TEST_DECLARE_USAGE("certfile privkeyfile\n") + int setup_tests(void) { char *certin = NULL, *privkeyin = NULL; -- cgit v1.2.3