diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-02-11 18:17:33 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-02-11 18:17:33 +0100 |
commit | df00df5a7a5bcd9076d4423128ea014ab3535626 (patch) | |
tree | 337e62f8ca39b19b250b155a3fbeb495384e356b /source/kit/secure_random.c | |
parent | 80da54bb97c279aa60fb77a9bbad9baa0f2e4477 (diff) | |
download | saw-df00df5a7a5bcd9076d4423128ea014ab3535626.zip |
Update kit
Diffstat (limited to 'source/kit/secure_random.c')
-rw-r--r-- | source/kit/secure_random.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/kit/secure_random.c b/source/kit/secure_random.c index 02b168b..2f53866 100644 --- a/source/kit/secure_random.c +++ b/source/kit/secure_random.c @@ -1,5 +1,7 @@ #include "secure_random.h" +#include "status.h" + #include <assert.h> #include <stdio.h> #include <stdlib.h> @@ -14,7 +16,7 @@ # include <unistd.h> #endif -kit_status_t kit_secure_random(i64 size, void *data) { +s32 kit_secure_random(i64 size, void *data) { assert(size >= 0); assert(data != NULL); |