diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-02-19 18:00:26 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-04-02 18:17:00 +0200 |
commit | afe554c2d244b4e7fc8c1b14acef806a2a581a8d (patch) | |
tree | 0af31aa1a20a0106423ee23522e35504e6013e1a /test/cmp_ctx_test.c | |
parent | TLS Cipher Suite 0xC102 Support (diff) | |
download | openssl-afe554c2d244b4e7fc8c1b14acef806a2a581a8d.tar.xz openssl-afe554c2d244b4e7fc8c1b14acef806a2a581a8d.zip |
Chunk 10 of CMP contribution to OpenSSL: CMP http client and related tests
Also improve the generic HTTP client w.r.t. proxy and no_proxy options.
Certificate Management Protocol (CMP, RFC 4210) extension to OpenSSL
Also includes CRMF (RFC 4211) and HTTP transfer (RFC 6712).
Adds the CMP and CRMF API to libcrypto and the "cmp" app to the CLI.
Adds extensive documentation and tests.
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/11404)
Diffstat (limited to 'test/cmp_ctx_test.c')
-rw-r--r-- | test/cmp_ctx_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cmp_ctx_test.c b/test/cmp_ctx_test.c index bbbd056ba5..1708960687 100644 --- a/test/cmp_ctx_test.c +++ b/test/cmp_ctx_test.c @@ -718,8 +718,8 @@ DEFINE_SET_CB_TEST(log_cb) DEFINE_SET_TEST_DEFAULT(OSSL_CMP, CTX, 1, 1, serverPath, char, IS_0) DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, serverName, char) DEFINE_SET_PORT_TEST(serverPort) -DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, proxyName, char) -DEFINE_SET_PORT_TEST(proxyPort) +DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, proxy, char) +DEFINE_SET_TEST(OSSL_CMP, CTX, 1, 1, no_proxy, char) DEFINE_SET_CB_TEST(http_cb) DEFINE_SET_GET_P_VOID_TEST(http_cb_arg) DEFINE_SET_CB_TEST(transfer_cb) @@ -803,8 +803,8 @@ int setup_tests(void) ADD_TEST(test_CTX_set1_get0_serverPath); ADD_TEST(test_CTX_set1_get0_serverName); ADD_TEST(test_CTX_set_get_serverPort); - ADD_TEST(test_CTX_set1_get0_proxyName); - ADD_TEST(test_CTX_set_get_proxyPort); + ADD_TEST(test_CTX_set1_get0_proxy); + ADD_TEST(test_CTX_set1_get0_no_proxy); ADD_TEST(test_CTX_set_get_http_cb); ADD_TEST(test_CTX_set_get_http_cb_arg); ADD_TEST(test_CTX_set_get_transfer_cb); |