summaryrefslogtreecommitdiffstats
path: root/g10/seskey.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/seskey.c')
-rw-r--r--g10/seskey.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/seskey.c b/g10/seskey.c
index 314347a8b..b17302ea5 100644
--- a/g10/seskey.c
+++ b/g10/seskey.c
@@ -41,6 +41,7 @@ make_session_key( DEK *dek )
randomize_buffer( dek->key, dek->keylen, 1 );
break;
case CIPHER_ALGO_BLOWFISH128:
+ case CIPHER_ALGO_CAST:
dek->keylen = 16;
randomize_buffer( dek->key, dek->keylen, 1 );
break;