- if ((res = ber_tag(o, p, o->t_class, o->t_tag, &cons)) < 0)
+ if ((res = ber_tag(o, p, o->t_class, o->t_tag, &cons, opt)) < 0)
if (o->direction == ODR_DECODE)
*p = nalloc(o, sizeof(int));
return ber_integer(o, *p);
if (o->direction == ODR_DECODE)
*p = nalloc(o, sizeof(int));
return ber_integer(o, *p);