diff options
author | Lev Walkin <vlm@lionet.info> | 2005-03-31 21:52:53 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2005-03-31 21:52:53 +0000 |
commit | 87b14d326f507acf09353271e6ed6793444075b8 (patch) | |
tree | 37c71dfe50c55180ae703d328354dc4c5c3a718c /tests/42-real-life-OK.asn1.-PR | |
parent | 8ea99488c54e36acfa53aed671720bb8327d57fb (diff) |
uniform constraints checking
Diffstat (limited to 'tests/42-real-life-OK.asn1.-PR')
-rw-r--r-- | tests/42-real-life-OK.asn1.-PR | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR index af71d814..279e5dc2 100644 --- a/tests/42-real-life-OK.asn1.-PR +++ b/tests/42-real-life-OK.asn1.-PR @@ -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)", |