git.iko.soy/typeable/entropy
on main help sign in
Fix indentation issue
commit27004d1e5646c1bcb06bdcfa82e9184499aed540 authorThomas M. DuBuisson <tommd@galois.com> dateThu 29 May 2014, 09:21 (12 years ago) parent2cb3750
1 file changed+5−5
System/Entropy.hs+5−5
System/Entropy.hs+5−5
@@ -127,11 +127,11 @@ getEntropy n = do
127127 if b then hGetEntropy UseRdRand n
128128 else do
129129#endif
130− h <- cryptAcquireCtx
131− bs <- cryptGenRandom h n
132− let !bs' = bs
133− cryptReleaseCtx h
134− return bs'
130+ h <- cryptAcquireCtx
131+ bs <- cryptGenRandom h n
132+ let !bs' = bs
133+ cryptReleaseCtx h
134+ return bs'
135135
136136-- |Open a handle from which random data can be read
137137openHandle :: IO CryptHandle