]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - crypto/rand/rand_vms.c
crypto/rand/rand_vms.c: include "internal/rand_int.h"
[thirdparty/openssl.git] / crypto / rand / rand_vms.c
index 4ec4b35bd4a4e65b1c67199a1e0b017777d275b4..ff9e1aafee8fa62a19ff99af72d4c4b92eef4f88 100644 (file)
@@ -11,6 +11,7 @@
 
 #if defined(OPENSSL_SYS_VMS)
 # include <openssl/rand.h>
+# include "internal/rand_int.h"
 # include "rand_lcl.h"
 # include <descrip.h>
 # include <jpidef.h>
@@ -54,7 +55,7 @@ static struct items_data_st {
     {0, 0}
 };
 
-size_t RAND_POOL_acquire_entropy(RAND_POOL *pool)
+size_t rand_pool_acquire_entropy(RAND_POOL *pool)
 {
     /* determine the number of items in the JPI array */
     struct items_data_st item_entry;
@@ -117,7 +118,7 @@ size_t RAND_POOL_acquire_entropy(RAND_POOL *pool)
      * was that it contains 4 bits of entropy per byte. This makes a total
      * amount of total_length*16 bits (256bits).
      */
-    return RAND_POOL_add(pool,
+    return rand_pool_add(pool,
                          (PTR_T)data_buffer, total_length * 4,
                          total_length * 16);
 }