uniform constraints checking
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index af71d81..279e5dc 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -58,9 +58,8 @@
}
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 @@
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)",