1
0
Fork 0
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:
David Shaw 2003-10-17 03:56:30 +00:00
parent 66716c7349
commit cc1e739560
3 changed files with 12 additions and 7 deletions

View file

@ -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;
}