Index: crypto/hmac.h |
diff --git a/crypto/hmac.h b/crypto/hmac.h |
index ec32ed7cd1c56d63a78fe2694b9dc4ae22d53d30..24213338cc0b2a1bbae3bf24edadd48463b9a635 100644 |
--- a/crypto/hmac.h |
+++ b/crypto/hmac.h |
@@ -11,6 +11,7 @@ |
#include <stddef.h> |
#include <memory> |
+#include <vector> |
#include "base/compiler_specific.h" |
#include "base/macros.h" |
@@ -20,7 +21,6 @@ |
namespace crypto { |
// Simplify the interface and reduce includes by abstracting out the internals. |
-struct HMACPlatformData; |
class SymmetricKey; |
class CRYPTO_EXPORT HMAC { |
@@ -86,7 +86,8 @@ class CRYPTO_EXPORT HMAC { |
private: |
HashAlgorithm hash_alg_; |
- std::unique_ptr<HMACPlatformData> plat_; |
+ bool initialized_; |
+ std::vector<unsigned char> key_; |
DISALLOW_COPY_AND_ASSIGN(HMAC); |
}; |