1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-07-01 02:42:44 +02:00

2002-05-04 Timo Schulz <ts@winpt.org>

* mainproc.c (proc_symkey_enc): Don't ask for a passphrase
        in the list only mode.
This commit is contained in:
Timo Schulz 2002-05-05 15:50:44 +00:00
parent ab59f621d6
commit f6ccde9f14
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-05-05 Timo Schulz <ts@winpt.org>
* mainproc.c (proc_symkey_enc): Don't ask for a passphrase
in the list only mode.
2002-05-05 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_refresh): --refresh-keys implies

View File

@ -257,10 +257,13 @@ proc_symkey_enc( CTX c, PACKET *pkt )
log_info(_("encrypted with unknown algorithm %d\n"), algo );
c->last_was_session_key = 2;
if ( opt.list_only )
goto leave;
c->dek = passphrase_to_dek( NULL, 0, algo, &enc->s2k, 0, NULL );
if (c->dek)
c->dek->algo_info_printed = 1;
}
leave:
free_packet(pkt);
}