summaryrefslogtreecommitdiff
path: root/authAlgo.h
diff options
context:
space:
mode:
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