From 87b14d326f507acf09353271e6ed6793444075b8 Mon Sep 17 00:00:00 2001
From: Lev Walkin <vlm@lionet.info>
Date: Thu, 31 Mar 2005 21:52:53 +0000
Subject: [PATCH] uniform constraints checking

---
 tests/42-real-life-OK.asn1.-PR | 5 ++---
 1 file 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)",
-- 
GitLab