aboutsummaryrefslogtreecommitdiffstats
path: root/g10/mainproc.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1999-09-15 14:26:39 +0000
committerWerner Koch <[email protected]>1999-09-15 14:26:39 +0000
commitdcaaa9223e2d1e0af80ddc2d3d70232cbac60d55 (patch)
treeea3c225eda906d79540f9ec5e4b43d18323e2993 /g10/mainproc.c
parentSee ChangeLog: Mon Sep 13 10:55:14 CEST 1999 Werner Koch (diff)
downloadgnupg-1-0-2.tar.gz
gnupg-1-0-2.zip
See ChangeLog: Wed Sep 15 16:22:17 CEST 1999 Werner KochV1-0-4V1-0-3V1-0-2V1-0-1-ePit-1
Diffstat (limited to 'g10/mainproc.c')
-rw-r--r--g10/mainproc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/mainproc.c b/g10/mainproc.c
index d19bbb965..4c93b4877 100644
--- a/g10/mainproc.c
+++ b/g10/mainproc.c
@@ -312,7 +312,9 @@ proc_encrypted( CTX c, PACKET *pkt )
/*log_debug("dat: %sencrypted data\n", c->dek?"":"conventional ");*/
if( !c->dek && !c->last_was_session_key ) {
- /* assume this is old conventional encrypted data */
+ /* assume this is old conventional encrypted data
+ * Actually we should use IDEA and MD5 in this case, but becuase
+ * IDEA is patented we can't do so */
c->dek = passphrase_to_dek( NULL, 0,
opt.def_cipher_algo ? opt.def_cipher_algo
: DEFAULT_CIPHER_ALGO, NULL, 0 );