summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-11 11:05:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-09-11 11:05:20 +0000
commit6f7fafbf004af03cc476648be02c9dc3cc1b4f3d (patch)
tree01e3df96b7ecfa279721ff05cc0c4954daccb9dc /vm_insnhelper.c
parentdb40f678493b5e36d1e8af94ea79b6b0bc2c11ea (diff)
random.c: prefixed fill_random_bytes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 0374744756..84fd3aeb01 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3913,7 +3913,7 @@ void
Init_vm_stack_canary(void)
{
/* This has to be called _after_ our PRNG is properly set up. */
- int n = fill_random_bytes(&vm_stack_canary, sizeof vm_stack_canary, false);
+ int n = ruby_fill_random_bytes(&vm_stack_canary, sizeof vm_stack_canary, false);
VM_ASSERT(n == 0);
}