diff options
Diffstat (limited to 'skeletons/IA5String.c')
-rw-r--r-- | skeletons/IA5String.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/IA5String.c b/skeletons/IA5String.c index a4d7ff84..abc9ff38 100644 --- a/skeletons/IA5String.c +++ b/skeletons/IA5String.c @@ -37,7 +37,7 @@ asn_TYPE_descriptor_t asn_DEF_IA5String = { int IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, - asn_app_consume_bytes_f *app_errlog, void *app_key) { + asn_app_constraint_failed_f *ctfailcb, void *app_key) { const IA5String_t *st = (const IA5String_t *)sptr; if(st && st->buf) { @@ -49,7 +49,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, */ for(; buf < end; buf++) { if(*buf > 0x7F) { - _ASN_ERRLOG(app_errlog, app_key, + _ASN_CTFAIL(app_key, td, "%s: value byte %ld out of range: " "%d > 127 (%s:%d)", td->name, @@ -60,7 +60,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr, } } } else { - _ASN_ERRLOG(app_errlog, app_key, + _ASN_CTFAIL(app_key, td, "%s: value not given (%s:%d)", td->name, __FILE__, __LINE__); return -1; |