diff options
| author | Werner Koch <[email protected]> | 1998-01-07 20:47:46 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 1998-01-07 20:47:46 +0000 |
| commit | 762d3d7197f622296ea5360a73c46c88dcd26308 (patch) | |
| tree | cfd34485dc436ef861b4f625d20388f3776c232e /g10/mainproc.c | |
| parent | patch release 0.1.1 (diff) | |
| download | gnupg-762d3d7197f622296ea5360a73c46c88dcd26308.tar.gz gnupg-762d3d7197f622296ea5360a73c46c88dcd26308.zip | |
patchlevel 2
Diffstat (limited to 'g10/mainproc.c')
| -rw-r--r-- | g10/mainproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c index b46cb1344..a99c975fd 100644 --- a/g10/mainproc.c +++ b/g10/mainproc.c @@ -232,7 +232,7 @@ proc_encrypted( CTX c, PACKET *pkt ) if( !c->dek && !c->last_was_pubkey_enc ) { /* assume this is conventional encrypted data */ c->dek = m_alloc_secure( sizeof *c->dek ); - c->dek->algo = DEFAULT_CIPHER_ALGO; + c->dek->algo = opt.def_cipher_algo; result = make_dek_from_passphrase( c->dek, 0 ); } else if( !c->dek ) |
