summaryrefslogtreecommitdiff
path: root/randpool.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-01-08 11:02:03 -0500
committerJeffrey Walton <noloader@gmail.com>2016-01-08 11:02:03 -0500
commitee23865b77960f0d4f113b17ed11b9720f8f83ad (patch)
tree506228afe2cee4051e74c0761890d0c50afeefac /randpool.h
parentade18f632911a71b38f21ed14a11a07f5c345a39 (diff)
downloadcryptopp-git-ee23865b77960f0d4f113b17ed11b9720f8f83ad.tar.gz
Fixed cast-align warning when casting buffer to TimerWord*
Diffstat (limited to 'randpool.h')
-rw-r--r--randpool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/randpool.h b/randpool.h
index aed38f0f..9393ff92 100644
--- a/randpool.h
+++ b/randpool.h
@@ -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;
};