The branch OpenSSL_1_1_1-stable has been updated via b8caae27f19f29f3db927301fbd26fedc90c6b9b (commit) from 45956011b9a5b0e7a2170d4c4f5f866d00702450 (commit)
- Log ----------------------------------------------------------------- commit b8caae27f19f29f3db927301fbd26fedc90c6b9b Author: Dr. Matthias St. Pierre <matthias.st.pie...@ncp-e.com> Date: Fri Mar 15 01:48:51 2019 +0100 VMS: only use the high precision on VMS v8.4 and up Fixes #8487 Amends #7230 Reviewed-by: Tim Hudson <t...@openssl.org> Reviewed-by: Richard Levitte <levi...@openssl.org> (Merged from https://github.com/openssl/openssl/pull/8488) (cherry picked from commit 355417eb4611014767480e5d3e96b1b08eb02700) ----------------------------------------------------------------------- Summary of changes: crypto/rand/rand_vms.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crypto/rand/rand_vms.c b/crypto/rand/rand_vms.c index bfcf6f0..e844291 100644 --- a/crypto/rand/rand_vms.c +++ b/crypto/rand/rand_vms.c @@ -507,7 +507,11 @@ int rand_pool_add_additional_data(RAND_POOL *pool) * concurrently (which is the case for the <master> drbg). */ data.tid = CRYPTO_THREAD_get_current_id(); +#if __CRTL_VER >= 80400000 sys$gettim_prec(&data.time); +#else + sys$gettim((void*)&data.time); +#endif return rand_pool_add(pool, (unsigned char *)&data, sizeof(data), 0); }