mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
* g10.c (main): Fix --export-all do actually do something different than
--export.
This commit is contained in:
parent
66716c7349
commit
cc1e739560
3 changed files with 12 additions and 7 deletions
|
@ -214,9 +214,7 @@ encode_simple( const char *filename, int mode, int use_seskey )
|
|||
}
|
||||
|
||||
if ( use_seskey ) {
|
||||
seskeylen = cipher_get_keylen( opt.s2k_cipher_algo ?
|
||||
opt.s2k_cipher_algo:
|
||||
opt.def_cipher_algo ) / 8;
|
||||
seskeylen = cipher_get_keylen( opt.s2k_cipher_algo ) / 8;
|
||||
encode_sesskey( cfx.dek, &dek, enckey );
|
||||
m_free( cfx.dek ); cfx.dek = dek;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue