shithub: mc

Download patch

ref: 5538fd4100c6e911752105ab49176833a9c1e499
parent: 97602e57fcd2bba52c50454f15cf07a97adf7342
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Dec 1 20:17:10 EST 2016

Remove workaround for compiler bug.

	We're no longer referencing an unexported function from
	within a generic.

--- a/lib/crypto/rand.myr
+++ b/lib/crypto/rand.myr
@@ -10,8 +10,6 @@
 	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