summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-12-02 01:17:10 -0800
committerOri Bernstein <ori@eigenstate.org>2016-12-02 01:17:10 -0800
commit5538fd4100c6e911752105ab49176833a9c1e499 (patch)
tree66fcc9a6223c3a7e553a5c988b08a66fd91cbb0e /lib/crypto
parent97602e57fcd2bba52c50454f15cf07a97adf7342 (diff)
downloadmc-5538fd4100c6e911752105ab49176833a9c1e499.tar.gz
Remove workaround for compiler bug.
We're no longer referencing an unexported function from within a generic.
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/rand.myr2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/crypto/rand.myr b/lib/crypto/rand.myr
index 6ce596b..481d532 100644
--- a/lib/crypto/rand.myr
+++ b/lib/crypto/rand.myr
@@ -10,8 +10,6 @@ pkg crypto =
const randbytes : (buf : byte[:] -> void)
generic rand : (lo : @a::(integral,numeric), hi : @a::(integral,numeric) -> @a::(numeric,integral))
generic randnum : (-> @a::(numeric,integral))
-
- pkglocal const rekey : (entropy : byte[:] -> void)
;;
const Stirinterval = 16*std.MiB