[openssl] master update

Richard Levitte levitte at openssl.org
Fri Sep 3 09:22:49 UTC 2021


The branch master has been updated
       via  9150ca6017f8654e671bd7d7d1b494ce1ce3fa0d (commit)
      from  2727265752c66690d79c4cbe6956746977b1df4c (commit)


- Log -----------------------------------------------------------------
commit 9150ca6017f8654e671bd7d7d1b494ce1ce3fa0d
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Sep 2 13:10:33 2021 +0200

    VMS: Compensate for x86_64 cross compiler type incompatibility
    
    The x86_64 cross compiler says that 'unsigned long long' isn't the
    same as 'unsigned __int64'.  Sure, and considering that
    providers/implementations/rands/seeding/rand_vms.c is specific VMS
    only code, it's easy to just change the type to the exact same as
    what's specified in the system headers.
    
    Reviewed-by: Tomas Mraz <tomas at openssl.org>
    Reviewed-by: Paul Dale <pauli at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/16497)
    
    (cherry picked from commit 1ef526ef421febe50a105bb140d7e3a70bd76b61)

-----------------------------------------------------------------------

Summary of changes:
 providers/implementations/rands/seeding/rand_vms.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/providers/implementations/rands/seeding/rand_vms.c b/providers/implementations/rands/seeding/rand_vms.c
index 8f8855321b..abc06ffd5b 100644
--- a/providers/implementations/rands/seeding/rand_vms.c
+++ b/providers/implementations/rands/seeding/rand_vms.c
@@ -479,7 +479,7 @@ int ossl_pool_add_nonce_data(RAND_POOL *pool)
     struct {
         pid_t pid;
         CRYPTO_THREAD_ID tid;
-        uint64_t time;
+        unsigned __int64 time;
     } data;
 
     /* Erase the entire structure including any padding */
@@ -580,7 +580,7 @@ int ossl_rand_pool_add_additional_data(RAND_POOL *pool)
 {
     struct {
         CRYPTO_THREAD_ID tid;
-        uint64_t time;
+        unsigned __int64 time;
     } data;
 
     /* Erase the entire structure including any padding */


More information about the openssl-commits mailing list