Commit 9310ffe0 authored by Pau Espin Pedrol's avatar Pau Espin Pedrol Committed by Mouse

tests: aper: Fix 2nd call to aper_put_length after 1st ret need_eom=true

parent dfdd46c7
......@@ -13,7 +13,7 @@ static void put(asn_per_outp_t *po, int range, size_t length) {
length -= may_write;
if(need_eom) {
assert(length == 0);
if(aper_put_length(po, range, 0, 0)) {
if(aper_put_length(po, -1, 0, 0)) {
assert(!"Unreachable");
}
fprintf(stderr, " put EOM 0\n");
......
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