Skip to content

Commit

Permalink
Update rng/unix/mc_getrandom_stubs.c
Browse files Browse the repository at this point in the history
Co-authored-by: Török Edwin <[email protected]>
  • Loading branch information
hannesm and edwintorok authored Jan 7, 2025
1 parent 74e4e67 commit 4caa18e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rng/unix/mc_getrandom_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,6 @@ void raw_getrandom(uint8_t *data, size_t len) {
#endif

CAMLprim value mc_getrandom (value buf, value off, value len) {
raw_getrandom(_bp_uint8_off(buf, off), Int_val(len));
raw_getrandom(_bp_uint8_off(buf, off), Long_val(len));
return Val_unit;
}

0 comments on commit 4caa18e

Please sign in to comment.