summaryrefslogtreecommitdiff
path: root/authAlgo.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
committerChristian Pointner <equinox@anytun.org>2007-06-17 22:25:20 +0000
commit261c9067380c5311c98e3576540eee6015be3297 (patch)
treef384eb8edbcc4d35793071090839453bcb4418a4 /authAlgo.h
parentadded cypher and authalgo (diff)
added [] - operator to Buffer
const Buffers are now possible
Diffstat (limited to 'authAlgo.h')
-rw-r--r--authAlgo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/authAlgo.h b/authAlgo.h
index 8cf05e5..4177525 100644
--- a/authAlgo.h
+++ b/authAlgo.h
@@ -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