diff options
Diffstat (limited to 'g10/encode.c')
-rw-r--r-- | g10/encode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g10/encode.c b/g10/encode.c index 7242e4a29..b189bcf18 100644 --- a/g10/encode.c +++ b/g10/encode.c @@ -196,7 +196,8 @@ encode_simple( const char *filename, int mode, int compat ) : opt.s2k_digest_algo; cfx.dek = passphrase_to_dek( NULL, 0, opt.def_cipher_algo ? opt.def_cipher_algo - : opt.s2k_cipher_algo , s2k, 2, NULL ); + : opt.s2k_cipher_algo , s2k, 2, + NULL, NULL ); if( !cfx.dek || !cfx.dek->keylen ) { rc = G10ERR_PASSPHRASE; m_free(cfx.dek); |