1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-05 23:07:49 +02:00

* export.c (do_export_stream): Allow reset-subkey-passwd along

with sexp-format.
This commit is contained in:
Werner Koch 2007-02-14 16:26:05 +00:00
parent 5e34f91852
commit b46c93fb10
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-02-06 Werner Koch <wk@g10code.com>
* export.c (do_export_stream): Allow reset-subkey-passwd along
with sexp-format.
2007-02-04 Werner Koch <wk@g10code.com>
* parse-packet.c (parse_signature): Limit bytes read for an

View File

@ -564,6 +564,9 @@ do_export_stream( IOBUF out, strlist_t users, int secret,
goto leave;
}
if ((options&EXPORT_SEXP_FORMAT))
rc = build_sexp (out, node->pkt, &indent);
else
rc = build_packet (out, node->pkt);
node->pkt->pkt.secret_key = sk_save;