X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/34afe8d7b8a75eddd44cccb8e6d8d35fa17a47d9..e3f1375768e53a28a4b5e7b965f2f9f3472aab42:/secnet.h diff --git a/secnet.h b/secnet.h index e253a14..818e946 100644 --- a/secnet.h +++ b/secnet.h @@ -402,8 +402,8 @@ struct resolver_if { /* RANDOMSRC interface */ -/* Return some random data. Returns TRUE for success. */ -typedef bool_t random_fn(void *st, int32_t bytes, uint8_t *buff); +/* Return some random data. Cannot fail. */ +typedef void random_fn(void *st, int32_t bytes, uint8_t *buff); struct random_if { void *st;