From 762d3d7197f622296ea5360a73c46c88dcd26308 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 7 Jan 1998 20:47:46 +0000 Subject: patchlevel 2 --- g10/seskey.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'g10/seskey.c') diff --git a/g10/seskey.c b/g10/seskey.c index 7d3cba27b..2698c73c7 100644 --- a/g10/seskey.c +++ b/g10/seskey.c @@ -41,6 +41,10 @@ make_session_key( DEK *dek ) dek->keylen = 20; randomize_buffer( dek->key, dek->keylen, 1 ); break; + case CIPHER_ALGO_BLOWFISH128: + dek->keylen = 16; + randomize_buffer( dek->key, dek->keylen, 1 ); + break; default: log_bug("invalid algo %d in make_session_key()\n"); } -- cgit v1.2.3