diff options
author | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:25:20 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2007-06-17 22:25:20 +0000 |
commit | 261c9067380c5311c98e3576540eee6015be3297 (patch) | |
tree | f384eb8edbcc4d35793071090839453bcb4418a4 /authAlgo.h | |
parent | added cypher and authalgo (diff) |
added [] - operator to Buffer
const Buffers are now possible
Diffstat (limited to 'authAlgo.h')
-rw-r--r-- | authAlgo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,13 +40,13 @@ public: AuthAlgo() {}; virtual ~AuthAlgo() {}; - virtual auth_tag_t calc(Buffer& buf) = 0; + virtual auth_tag_t calc(const Buffer& buf) = 0; }; class NullAuthAlgo : AuthAlgo { public: - auth_tag_t calc(Buffer& buf); + auth_tag_t calc(const Buffer& buf); }; #endif |