Fix rule selection in transform substructure
This commit is contained in:
1 parent
5f1aef65ce
commit
5789320f5c
1 file changed
+1
-1
@@ -167,7 +167,7 @@ METHOD(payload_t, verify, status_t,
|
||||
METHOD(payload_t, get_encoding_rules, int,
|
||||
private_transform_substructure_t *this, encoding_rule_t **rules)
|
||||
{
|
||||
if (this->type == TRANSFORM_ATTRIBUTE)
|
||||
if (this->type == TRANSFORM_SUBSTRUCTURE)
|
||||
{
|
||||
*rules = encodings_v2;
|
||||
return countof(encodings_v2);
|
||||
|
||||
Reference in new issue
Block a user