mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-04 13:44:22 +01:00
We could probably just use Openssl's RAND_pseudo_bytes, but this gives a nice interface to get a number between 1 and N. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
CCAN imported from http://ccodearchive.net. CCAN version: init-2084-gb87f63c