mirror of https://gerrit.osmocom.org/asn1c
*** empty log message ***
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@996 59561ff5-6e30-0410-9f3c-9617f08c8826
This commit is contained in:
parent
c47074424b
commit
dcb9abb8c6
|
@ -124,6 +124,8 @@ BIT_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
|
||||
if(!xcan) _i_ASN_TEXT_INDENT(1, ilevel - 1);
|
||||
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
cb_failed:
|
||||
_ASN_ENCODE_FAILED;
|
||||
|
|
|
@ -430,6 +430,8 @@ INTEGER_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
er.encoded = INTEGER__dump(td, st, cb, app_key, 1);
|
||||
if(er.encoded < 0) _ASN_ENCODE_FAILED;
|
||||
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
}
|
||||
|
||||
|
|
|
@ -639,6 +639,8 @@ OCTET_STRING_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
}
|
||||
}
|
||||
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
cb_failed:
|
||||
_ASN_ENCODE_FAILED;
|
||||
|
@ -779,6 +781,8 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
_ASN_ENCODE_FAILED;
|
||||
|
||||
er.encoded = encoded_len;
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
}
|
||||
|
||||
|
|
|
@ -257,6 +257,8 @@ REAL_encode_xer(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
er.encoded = REAL__dump(d, flags & XER_F_CANONICAL, cb, app_key);
|
||||
if(er.encoded < 0) _ASN_ENCODE_FAILED;
|
||||
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
}
|
||||
|
||||
|
|
|
@ -267,6 +267,7 @@ OCTET_STRING_encode_der(asn_TYPE_descriptor_t *td, void *ptr, int tag_mode, ber_
|
|||
(void)cb;
|
||||
(void)app_key;
|
||||
|
||||
memset(&erval, 0, sizeof(erval));
|
||||
return erval;
|
||||
}
|
||||
|
||||
|
@ -281,5 +282,6 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *ptr, int ilevel, e
|
|||
(void)cb;
|
||||
(void)app_key;
|
||||
|
||||
memset(&erval, 0, sizeof(erval));
|
||||
return erval;
|
||||
}
|
||||
|
|
|
@ -74,6 +74,7 @@ OCTET_STRING_encode_der(asn_TYPE_descriptor_t *td, void *ptr, int tag_mode, ber_
|
|||
(void)cb;
|
||||
(void)app_key;
|
||||
|
||||
memset(&erval, 0, sizeof(erval));
|
||||
return erval;
|
||||
}
|
||||
|
||||
|
@ -88,5 +89,6 @@ OCTET_STRING_encode_xer_utf8(asn_TYPE_descriptor_t *td, void *ptr, int ilevel, e
|
|||
(void)cb;
|
||||
(void)app_key;
|
||||
|
||||
memset(&erval, 0, sizeof(erval));
|
||||
return erval;
|
||||
}
|
||||
|
|
|
@ -32,6 +32,8 @@ xer_encode(asn_TYPE_descriptor_t *td, void *sptr,
|
|||
|
||||
er.encoded = 4 + xcan + (2 * mlen) + tmper.encoded;
|
||||
|
||||
er.structure_ptr = 0;
|
||||
er.failed_type = 0;
|
||||
return er;
|
||||
cb_failed:
|
||||
_ASN_ENCODE_FAILED;
|
||||
|
|
Loading…
Reference in New Issue