aboutsummaryrefslogtreecommitdiff
path: root/libbbot/manifest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbbot/manifest.cxx')
-rw-r--r--libbbot/manifest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbbot/manifest.cxx b/libbbot/manifest.cxx
index 02a5b05..56c5f1d 100644
--- a/libbbot/manifest.cxx
+++ b/libbbot/manifest.cxx
@@ -656,8 +656,8 @@ namespace bbot
if (challenge)
bad_name ("task response challenge redefinition");
- if (v.empty ())
- bad_value ("empty task response challenge");
+ if (v.size () != 64)
+ bad_value ("invalid task response challenge");
challenge = move (v);
}