Changeset View
Changeset View
Standalone View
Standalone View
g10/mainproc.c
Context not available. | |||||
c->iobuf = a; | c->iobuf = a; | ||||
init_packet(pkt); | init_packet(pkt); | ||||
init_parse_packet (&parsectx, a); | init_parse_packet (&parsectx, a); | ||||
parsectx.sigs_only = c->sigs_only && c->signed_data.used; | |||||
while ((rc=parse_packet (&parsectx, pkt)) != -1) | while ((rc=parse_packet (&parsectx, pkt)) != -1) | ||||
{ | { | ||||
any_data = 1; | any_data = 1; | ||||
Context not available. | |||||
if (gpg_err_code (rc) == GPG_ERR_INV_PACKET | if (gpg_err_code (rc) == GPG_ERR_INV_PACKET | ||||
&& opt.list_packets == 0) | && opt.list_packets == 0) | ||||
break; | break; | ||||
if (gpg_err_code (rc) == GPG_ERR_UNEXPECTED) | |||||
{ | |||||
write_status_text( STATUS_UNEXPECTED, "0" ); | |||||
goto leave; | |||||
} | |||||
continue; | continue; | ||||
} | } | ||||
newpkt = -1; | newpkt = -1; | ||||
Context not available. |