diff options
author | Pauli <pauli@openssl.org> | 2021-04-28 10:38:08 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-04-29 17:41:20 +1000 |
commit | f4585aeca99d43ed4cfd7053f8d74a4d816c95e4 (patch) | |
tree | 396c1fe1e04350da8ea4d9515723ea112094061e /apps/cmp.c | |
parent | 2395ad8079bdc76790a004f9aaeb53ef0b1c8df8 (diff) |
runchecker: fix no-sock build by conditioning clean up on the NO_SOCK symbol.
Fixes #15054
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15055)
Diffstat (limited to 'apps/cmp.c')
-rw-r--r-- | apps/cmp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index 494b27d294..51dd971162 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2855,7 +2855,9 @@ int cmp_main(int argc, char **argv) OSSL_CMP_CTX_print_errors(cmp_ctx); ossl_cmp_mock_srv_free(OSSL_CMP_CTX_get_transfer_cb_arg(cmp_ctx)); +#ifndef OPENSSL_NO_SOCK APP_HTTP_TLS_INFO_free(OSSL_CMP_CTX_get_http_cb_arg(cmp_ctx)); +#endif X509_STORE_free(OSSL_CMP_CTX_get_certConf_cb_arg(cmp_ctx)); OSSL_CMP_CTX_free(cmp_ctx); X509_VERIFY_PARAM_free(vpm); |