Commit af51eafe authored by Lev Walkin's avatar Lev Walkin

fix: encode effective integer

parent 623986ac
......@@ -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) {
rval.structure_ptr = sptr;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment