From bc173f78efb4a813bd673e020cb83bf81d01cf59 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 16 Jun 2012 18:01:48 +0000 Subject: Minor tweak to blowfish, it now flushes correctly on close, which makes stacking work better. --- src/experimental/blowfish.h | 1 + src/experimental/cipher.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/experimental') diff --git a/src/experimental/blowfish.h b/src/experimental/blowfish.h index c2a8be5..0308026 100644 --- a/src/experimental/blowfish.h +++ b/src/experimental/blowfish.h @@ -40,6 +40,7 @@ namespace Bu virtual ~Blowfish() { + stop(); reset(); } diff --git a/src/experimental/cipher.h b/src/experimental/cipher.h index 814e88c..91f1704 100644 --- a/src/experimental/cipher.h +++ b/src/experimental/cipher.h @@ -35,6 +35,7 @@ namespace Bu virtual Bu::size stop() { + flush(); return 0; } -- cgit v1.2.3