ASN.1 constraint fixes.

This commit is contained in:
lotodore
2009-08-04 21:40:39 +00:00
parent be31ebf7d6
commit 77af35864d
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return -1;
}
if((size >= 1 && size <= 64)) {
if((size >= 1 && size <= 32)) {
/* Constraint check succeeded */
return 0;
} else {
+1 -1
View File
@@ -29,7 +29,7 @@ memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return -1;
}
if((size >= 1 && size <= 64)) {
if((size >= 1 && size <= 32)) {
/* Constraint check succeeded */
return 0;
} else {
+1 -1
View File
@@ -302,7 +302,7 @@ memb_endRaiseSmallBlindValue_constraint_1(asn_TYPE_descriptor_t *td, const void
value = *(const long *)sptr;
if((value >= 1 && value <= 20000)) {
if((value >= 0 && value <= 20000)) {
/* Constraint check succeeded */
return 0;
} else {
+1 -1
View File
@@ -29,7 +29,7 @@ memb_playerName_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,
return -1;
}
if((size >= 1 && size <= 64)) {
if((size >= 1 && size <= 32)) {
/* Constraint check succeeded */
return 0;
} else {