diff options
author | lloyd <[email protected]> | 2010-10-29 13:51:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-29 13:51:27 +0000 |
commit | 633175a57a03ed9bf5a5e3577bfc26068c62b688 (patch) | |
tree | 086eb3a931d39fb35f8a3896a25a5cb38736a696 /src/utils | |
parent | df0dfeb904485bacb8034d0468b4498130939acc (diff) |
Remove BufferedComputation::OUTPUT_LENGTH
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/buf_comp/buf_comp.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/utils/buf_comp/buf_comp.h b/src/utils/buf_comp/buf_comp.h index 0b0ef6e16..78955fe87 100644 --- a/src/utils/buf_comp/buf_comp.h +++ b/src/utils/buf_comp/buf_comp.h @@ -20,16 +20,12 @@ namespace Botan { class BOTAN_DLL BufferedComputation { public: - /** - * The length of the output of this function in bytes. - * @deprecated Use output_length() - */ - const size_t OUTPUT_LENGTH; + virtual ~BufferedComputation() {} /** * @return length of the output of this function in bytes */ - size_t output_length() const { return OUTPUT_LENGTH; } + virtual size_t output_length() const = 0; /** * Add new input to process. @@ -133,13 +129,6 @@ class BOTAN_DLL BufferedComputation update(in); return final(); } - - /** - * @param out_len the output length of this computation - */ - BufferedComputation(size_t out_len) : OUTPUT_LENGTH(out_len) {} - - virtual ~BufferedComputation() {} private: BufferedComputation& operator=(const BufferedComputation&); |