summaryrefslogtreecommitdiffstats
path: root/crypto/rand/rand_vms.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rand/rand_vms.c')
-rw-r--r--crypto/rand/rand_vms.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c
index a6bb76d1d0..773373d1a6 100644
--- a/crypto/rand/rand_vms.c
+++ b/crypto/rand/rand_vms.c
@@ -54,7 +54,7 @@ static struct items_data_st {
{0, 0}
};
-int RAND_poll_ex(RAND_poll_fn cb, void *arg)
+int RAND_poll_ex(RAND_poll_cb rand_add, void *arg)
{
/* determine the number of items in the JPI array */
struct items_data_st item_entry;
@@ -113,7 +113,7 @@ int RAND_poll_ex(RAND_poll_fn cb, void *arg)
total_length += (tmp_length - 1);
/* size of seed is total_length*4 bytes (64bytes) */
- cb(arg, (PTR_T)data_buffer, total_length * 4, total_length * 2);
+ rand_add(arg, (PTR_T)data_buffer, total_length * 4, total_length * 2);
return 1;
}