Problem: duplicated code & inconsistent behaviour between

mechanisms

Solution: uniformly require a ZAP domain to be set to activate ZAP
handling, clarify comment on Stonehouse pattern
This commit is contained in:
sigiesec
2017-09-18 15:24:10 +02:00
parent ee8b8bd29c
commit e546f9296e
10 changed files with 48 additions and 35 deletions

View File

@@ -45,6 +45,8 @@ class mechanism_base_t : public mechanism_t
int check_basic_command_structure (msg_t *msg_);
void handle_error_reason (const char *error_reason, size_t error_reason_len);
bool zap_required() const;
};
}