diff options
Diffstat (limited to 'bbot/manifest')
-rw-r--r-- | bbot/manifest | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/bbot/manifest b/bbot/manifest index 7e14b7d..3022535 100644 --- a/bbot/manifest +++ b/bbot/manifest @@ -60,12 +60,12 @@ namespace bbot // // $ cat key.pub | openssl sha256 // - std::string fingerprint; + butl::optional<std::string> fingerprint; machine_header_manifests machines; task_request_manifest (std::string a, - std::string f, + butl::optional<std::string> f, machine_header_manifests m) : agent (std::move (a)), fingerprint (std::move (f)), @@ -260,12 +260,15 @@ namespace bbot { public: std::string session; // The task response session. - std::string challenge; // The answer to challenge in the task response. + + // The answer to challenge in the task response. + // + butl::optional<std::string> challenge; result_manifest result; result_request_manifest (std::string s, - std::string c, + butl::optional<std::string> c, result_manifest r) : session (std::move (s)), challenge (std::move (c)), |