diff options
-rw-r--r-- | apps/cmp.c | 2 | ||||
-rw-r--r-- | apps/cmp_mock_srv.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/cmp.c b/apps/cmp.c index c0fd3e3495..f80410fe9c 100644 --- a/apps/cmp.c +++ b/apps/cmp.c @@ -2996,7 +2996,7 @@ int cmp_main(int argc, char **argv) if (req != NULL) { if (strcmp(path, "") != 0 && strcmp(path, "pkix/") != 0) { (void)http_server_send_status(cbio, 404, "Not Found"); - CMP_err1("Expecting empty path or 'pkix/' but got '%s'\n", + CMP_err1("Expecting empty path or 'pkix/' but got '%s'", path); OPENSSL_free(path); OSSL_CMP_MSG_free(req); diff --git a/apps/cmp_mock_srv.c b/apps/cmp_mock_srv.c index b45f98551c..c63e5f9943 100644 --- a/apps/cmp_mock_srv.c +++ b/apps/cmp_mock_srv.c @@ -208,6 +208,7 @@ static OSSL_CMP_PKISI *process_cert_request(OSSL_CMP_SRV_CTX *srv_ctx, } if (ctx->certOut != NULL && (*certOut = X509_dup(ctx->certOut)) == NULL) + /* TODO better return a cert produced from data in request template */ goto err; if (ctx->chainOut != NULL && (*chainOut = X509_chain_up_ref(ctx->chainOut)) == NULL) |