mirror of
https://github.com/openssl/openssl.git
synced 2025-01-18 13:44:20 +08:00
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@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16497)
This commit is contained in:
parent
37ceb9b175
commit
1ef526ef42
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user