mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-24 10:39:57 +01: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:
parent
ab59f621d6
commit
f6ccde9f14
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user