diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2012-06-16 18:01:48 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2012-06-16 18:01:48 +0000 |
| commit | bc173f78efb4a813bd673e020cb83bf81d01cf59 (patch) | |
| tree | 93133dd98f4e656f2989c7bbc9a0a4bc6c5eead5 /src | |
| parent | 0d10472c9c375026d0f98cfb066a6fb9d2992030 (diff) | |
| download | libbu++-bc173f78efb4a813bd673e020cb83bf81d01cf59.tar.gz libbu++-bc173f78efb4a813bd673e020cb83bf81d01cf59.tar.bz2 libbu++-bc173f78efb4a813bd673e020cb83bf81d01cf59.tar.xz libbu++-bc173f78efb4a813bd673e020cb83bf81d01cf59.zip | |
Minor tweak to blowfish, it now flushes correctly on close, which makes stacking
work better.
Diffstat (limited to '')
| -rw-r--r-- | src/experimental/blowfish.h | 1 | ||||
| -rw-r--r-- | src/experimental/cipher.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 | |||
| 40 | 40 | ||
| 41 | virtual ~Blowfish() | 41 | virtual ~Blowfish() |
| 42 | { | 42 | { |
| 43 | stop(); | ||
| 43 | reset(); | 44 | reset(); |
| 44 | } | 45 | } |
| 45 | 46 | ||
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 | |||
| 35 | 35 | ||
| 36 | virtual Bu::size stop() | 36 | virtual Bu::size stop() |
| 37 | { | 37 | { |
| 38 | flush(); | ||
| 38 | return 0; | 39 | return 0; |
| 39 | } | 40 | } |
| 40 | 41 | ||
