Fixing GUID constraints - for now.
This commit is contained in:
Vendored
+2
-9
@@ -22,15 +22,8 @@ Guid_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
|
|||||||
|
|
||||||
value = *(const unsigned long *)sptr;
|
value = *(const unsigned long *)sptr;
|
||||||
|
|
||||||
if((value >= 1 && value <= 4294967295)) {
|
/* Constraint check succeeded */
|
||||||
/* Constraint check succeeded */
|
return 0;
|
||||||
return 0;
|
|
||||||
} else {
|
|
||||||
_ASN_CTFAIL(app_key, td, sptr,
|
|
||||||
"%s: constraint failed (%s:%d)",
|
|
||||||
td->name, __FILE__, __LINE__);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user