Commit 87b14d32 authored by Lev Walkin's avatar Lev Walkin

uniform constraints checking

parent 8ea99488
......@@ -58,9 +58,8 @@ memb_varsets_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
}
if((size >= 1)) {
/* SEQUENCE validation code is the same as SET */
/* Perform validation of the inner elements */
return SET_OF_constraint(td, list, app_errlog, app_key);
return td->check_constraints(td, sptr, app_errlog, app_key);
} else {
_ASN_ERRLOG(app_errlog, app_key,
"%s: constraint failed (%s:%d)",
......@@ -397,7 +396,7 @@ memb_vset_1_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
if((size >= 1)) {
/* Perform validation of the inner elements */
return SET_OF_constraint(td, list, app_errlog, app_key);
return td->check_constraints(td, sptr, app_errlog, app_key);
} else {
_ASN_ERRLOG(app_errlog, app_key,
"%s: constraint failed (%s:%d)",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment