aboutsummaryrefslogtreecommitdiffstats
path: root/tests/42-real-life-OK.asn1.-PR
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2004-08-22 12:47:03 +0000
committerLev Walkin <vlm@lionet.info>2004-08-22 12:47:03 +0000
commit775885e94cbca6706ab1ebc419c21b30400bfe07 (patch)
treee2db24153f7bafbec6265022a49820b44fff8c3b /tests/42-real-life-OK.asn1.-PR
parent6db2f09fb2427854cfd45b5e977a1464554bb930 (diff)
proper constraints return values
Diffstat (limited to 'tests/42-real-life-OK.asn1.-PR')
-rw-r--r--tests/42-real-life-OK.asn1.-PR4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/42-real-life-OK.asn1.-PR b/tests/42-real-life-OK.asn1.-PR
index aaa2e9f5..a934fff1 100644
--- a/tests/42-real-life-OK.asn1.-PR
+++ b/tests/42-real-life-OK.asn1.-PR
@@ -52,7 +52,7 @@ memb_varsets_1_constraint(asn1_TYPE_descriptor_t *td, const void *sptr,
if((size >= 1)) {
/* Constraint check succeeded */
- return 1;
+ return 0;
} else {
_ASN_ERRLOG(app_errlog, app_key,
"%s: constraint failed", td->name);
@@ -359,7 +359,7 @@ memb_vset_3_constraint(asn1_TYPE_descriptor_t *td, const void *sptr,
if((size >= 1)) {
/* Constraint check succeeded */
- return 1;
+ return 0;
} else {
_ASN_ERRLOG(app_errlog, app_key,
"%s: constraint failed", td->name);