mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* export.c (do_export_stream): Allow reset-subkey-passwd along
with sexp-format.
This commit is contained in:
parent
5e34f91852
commit
b46c93fb10
2 changed files with 9 additions and 1 deletions
|
@ -564,7 +564,10 @@ do_export_stream( IOBUF out, strlist_t users, int secret,
|
|||
goto leave;
|
||||
}
|
||||
|
||||
rc = build_packet (out, node->pkt);
|
||||
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;
|
||||
free_secret_key (sk);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue