mirror of https://gerrit.osmocom.org/asn1c
fix: encode effective integer
This commit is contained in:
parent
623986ac6a
commit
af51eafe31
|
@ -110,7 +110,7 @@ INTEGER_encode_der(const asn_TYPE_descriptor_t *td, const void *sptr,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rval = der_encode_primitive(td, sptr, tag_mode, tag, cb, app_key);
|
rval = der_encode_primitive(td, st, tag_mode, tag, cb, app_key);
|
||||||
if(rval.structure_ptr == &effective_integer) {
|
if(rval.structure_ptr == &effective_integer) {
|
||||||
rval.structure_ptr = sptr;
|
rval.structure_ptr = sptr;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue