diff options
| author | Jeffrey Walton <noloader@gmail.com> | 2016-09-10 04:57:48 -0400 |
|---|---|---|
| committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-10 04:57:48 -0400 |
| commit | 894874fe75ce079ad57e9d5e19813193b129152d (patch) | |
| tree | fae5a8307351b8200238038f05a32f7e91e8006e /randpool.cpp | |
| parent | 4414b864cf69edc7e142c96fdca53bfa898de539 (diff) | |
| download | cryptopp-git-894874fe75ce079ad57e9d5e19813193b129152d.tar.gz | |
Whitespace checkin
Diffstat (limited to 'randpool.cpp')
| -rw-r--r-- | randpool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/randpool.cpp b/randpool.cpp index 2eafb5bb..ad272709 100644 --- a/randpool.cpp +++ b/randpool.cpp @@ -47,13 +47,13 @@ void RandomPool::GenerateIntoBufferedTransformation(BufferedTransformation &targ *(TimerWord *)(void*)m_seed.data() += tw;
time_t t = time(NULL);
-
+
// UBsan finding: signed integer overflow: 1876017710 + 1446085457 cannot be represented in type 'long int'
// *(time_t *)(m_seed.data()+8) += t;
word64 tt1 = 0, tt2 = (word64)t;
memcpy(&tt1, m_seed.data()+8, 8);
memcpy(m_seed.data()+8, &(tt2 += tt1), 8);
-
+
// Wipe the intermediates
*((volatile TimerWord*)&tw) = 0;
*((volatile word64*)&tt1) = 0;
|
