diff options
author | lloyd <[email protected]> | 2009-09-24 16:30:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-24 16:30:23 +0000 |
commit | e06cb7dcf09e17cb0e76d42e096ca838c17a60bc (patch) | |
tree | 49ab74a1abfdd3a5eab8d46ea585f137b907e70e | |
parent | 4c9aacabce7724197fb5e2e3fb85281a964f6574 (diff) |
Add BitBucket to basefilt.h
-rw-r--r-- | src/filters/basefilt.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/filters/basefilt.h b/src/filters/basefilt.h index 348ad6fd3..b1bcb1a00 100644 --- a/src/filters/basefilt.h +++ b/src/filters/basefilt.h @@ -13,6 +13,14 @@ namespace Botan { /** +* BitBucket is a filter which simply discards all inputs +*/ +struct BitBucket : public Filter + { + void write(const byte[], u32bit) {} + }; + +/** * This class represents Filter chains. A Filter chain is an ordered * concatenation of Filters, the input to a Chain sequentially passes * through all the Filters contained in the Chain. |