[openssl/openssl] aa542d: Make openVMS seeding less dependent of OpenVMS ver...

Richard Levitte noreply at github.com
Thu Oct 27 10:34:49 UTC 2022


  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 <levitte at 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 <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18730)




More information about the openssl-commits mailing list