diff options
Diffstat (limited to 'mod/mod-build-result.hxx')
-rw-r--r-- | mod/mod-build-result.hxx | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/mod/mod-build-result.hxx b/mod/mod-build-result.hxx index 1b32ad4..96449d5 100644 --- a/mod/mod-build-result.hxx +++ b/mod/mod-build-result.hxx @@ -8,21 +8,21 @@ #include <libbrep/utility.hxx> #include <mod/module-options.hxx> -#include <mod/database-module.hxx> -#include <mod/build-config-module.hxx> +#include <mod/tenant-service.hxx> +#include <mod/build-result-module.hxx> namespace brep { - class build_result: public database_module, private build_config_module + class build_result: public build_result_module { public: - build_result () = default; + explicit + build_result (const tenant_service_map&); // Create a shallow copy (handling instance) if initialized and a deep // copy (context exemplar) otherwise. // - explicit - build_result (const build_result&); + build_result (const build_result&, const tenant_service_map&); virtual bool handle (request&, response&); @@ -36,13 +36,7 @@ namespace brep private: shared_ptr<options::build_result> options_; - - // True if the openssl version is greater or equal to 3.0.0 and so pkeyutl - // needs to be used instead of rsautl. - // - // Note that openssl 3.0.0 deprecates rsautl in favor of pkeyutl. - // - bool use_openssl_pkeyutl_; + const tenant_service_map& tenant_service_map_; }; } |