Branch: refs/heads/OpenSSL_1_1_1-stable
  Home:   https://github.com/openssl/openssl
  Commit: aa542d271fdf4761f5ae32694d6a5111941b09bf
      
https://github.com/openssl/openssl/commit/aa542d271fdf4761f5ae32694d6a5111941b09bf
  Author: Richard Levitte <levi...@openssl.org>
  Date:   2022-10-27 (Thu, 27 Oct 2022)

  Changed paths:
    M crypto/rand/rand_vms.c

  Log Message:
  -----------
  Make openVMS seeding less dependent of OpenVMS version

SYS$GETTIM_PREC is a very new function, only available on OpenVMS v8.4.
OpenSSL binaries built on OpenVMS v8.4 become unusable on older OpenVM
versions, but building for the older CRTL version will make the high
precision time functions unavailable.

Tests have shown that on Alpha and Itanium, the time update granularity
between SYS$GETTIM and SYS$GETTIM_PREC is marginal, so the former plus
a sequence number turns out to be better to guarantee a unique nonce.

Fixes #18727

Reviewed-by: Tomas Mraz <to...@openssl.org>
Reviewed-by: Hugo Landau <hlan...@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18730)


Reply via email to