aboutsummaryrefslogtreecommitdiffstats
path: root/skeletons/IA5String.c
diff options
context:
space:
mode:
authorLev Walkin <vlm@lionet.info>2006-10-16 12:18:41 +0000
committerLev Walkin <vlm@lionet.info>2006-10-16 12:18:41 +0000
commited9019a9e442f7bf59e1186a4c20c04cfded21a8 (patch)
treeed66050111dece088aad68794aa16c4deb4b68ea /skeletons/IA5String.c
parent4902f05440cd828b03fb6fb628962dc0c0c97b8b (diff)
constraint fail message
Diffstat (limited to 'skeletons/IA5String.c')
-rw-r--r--skeletons/IA5String.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/skeletons/IA5String.c b/skeletons/IA5String.c
index 8d81e446..02ecd3ee 100644
--- a/skeletons/IA5String.c
+++ b/skeletons/IA5String.c
@@ -55,7 +55,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
*/
for(; buf < end; buf++) {
if(*buf > 0x7F) {
- _ASN_CTFAIL(app_key, td,
+ _ASN_CTFAIL(app_key, td, sptr,
"%s: value byte %ld out of range: "
"%d > 127 (%s:%d)",
td->name,
@@ -66,7 +66,7 @@ IA5String_constraint(asn_TYPE_descriptor_t *td, const void *sptr,
}
}
} else {
- _ASN_CTFAIL(app_key, td,
+ _ASN_CTFAIL(app_key, td, sptr,
"%s: value not given (%s:%d)",
td->name, __FILE__, __LINE__);
return -1;