Chromium Code Reviews| Index: crypto/hmac.h |
| diff --git a/crypto/hmac.h b/crypto/hmac.h |
| index 7852797b20dc71fc1d96672e44f4cc1b04f27c56..40151f3761f1c3d270ab9b6a7f648d4f8dd8dae0 100644 |
| --- a/crypto/hmac.h |
| +++ b/crypto/hmac.h |
| @@ -51,7 +51,8 @@ class HMAC { |
| // to the constructor and the key supplied to the Init method. The HMAC is |
| // returned in |digest|, which has |digest_length| bytes of storage available. |
| // TODO(abarth): digest_length should be a size_t. |
| - bool Sign(const std::string& data, unsigned char* digest, int digest_length); |
| + bool Sign( |
| + const std::string& data, unsigned char* digest, int digest_length) const; |
|
wtc
2011/05/16 23:23:29
Nit: the Style Guide seems to recommend we format
Denis Lagno
2011/05/17 22:15:08
Done.
|
| // TODO(albertb): Add a Verify method. |