Index: pkg/crypto/lib/src/hmac.dart |
diff --git a/pkg/crypto/lib/src/hmac.dart b/pkg/crypto/lib/src/hmac.dart |
index 59c177109497d52a6319baa2a60f81765d628a0b..ba6cc11fc9218076adc5fa19a15259fd76e662cd 100644 |
--- a/pkg/crypto/lib/src/hmac.dart |
+++ b/pkg/crypto/lib/src/hmac.dart |
@@ -22,7 +22,7 @@ class HMAC { |
/** |
* Add a list of bytes to the message. |
*/ |
- add(List<int> data) { |
+ void add(List<int> data) { |
if (_isClosed) throw new StateError("HMAC is closed"); |
_message.addAll(data); |
} |
@@ -110,5 +110,5 @@ class HMAC { |
// HMAC internal state. |
Hash _hash; |
List<int> _key; |
- List<int> _message; |
+ final List<int> _message; |
} |