fix: encode effective integer

This commit is contained in:
Lev Walkin 2017-10-18 00:26:37 -07:00
parent 623986ac6a
commit af51eafe31
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}