diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-01-08 11:02:03 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-01-08 11:02:03 -0500 |
commit | ee23865b77960f0d4f113b17ed11b9720f8f83ad (patch) | |
tree | 506228afe2cee4051e74c0761890d0c50afeefac /randpool.h | |
parent | ade18f632911a71b38f21ed14a11a07f5c345a39 (diff) | |
download | cryptopp-git-ee23865b77960f0d4f113b17ed11b9720f8f83ad.tar.gz |
Fixed cast-align warning when casting buffer to TimerWord*
Diffstat (limited to 'randpool.h')
-rw-r--r-- | randpool.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,8 +25,8 @@ public: void Put(const byte *input, size_t length) {IncorporateEntropy(input, length);}
private:
- FixedSizeSecBlock<byte, 32> m_key;
- FixedSizeSecBlock<byte, 16> m_seed;
+ FixedSizeAlignedSecBlock<byte, 32> m_key;
+ FixedSizeAlignedSecBlock<byte, 16> m_seed;
member_ptr<BlockCipher> m_pCipher;
bool m_keySet;
};
|