[openssl/openssl] 364c3b: time: add some additional utilities and document e...

Pauli noreply at github.com
Tue Sep 13 11:15:54 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 364c3b7b1ac3172dbe2108be23ae215b86ef8e08
      https://github.com/openssl/openssl/commit/364c3b7b1ac3172dbe2108be23ae215b86ef8e08
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M doc/internal/man3/OSSL_TIME.pod
    M include/internal/time.h
    M ssl/time.c

  Log Message:
  -----------
  time: add some additional utilities and document everything

Some of the recently added functions were not documents.  This has been addressed.
Also added utility functions for conversions between time_t, seconds and struct timeval
to/from OSSL_TIME.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


  Commit: f0131dc04a39afcb1629f5bec2814ef3a4925bbf
      https://github.com/openssl/openssl/commit/f0131dc04a39afcb1629f5bec2814ef3a4925bbf
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M ssl/d1_lib.c
    M ssl/quic/quic_impl.c
    M ssl/quic/quic_local.h
    M ssl/s3_lib.c
    M ssl/ssl_asn1.c
    M ssl/ssl_lib.c
    M ssl/ssl_local.h
    M ssl/ssl_sess.c
    M ssl/ssl_txt.c
    M ssl/statem/extensions_clnt.c
    M ssl/statem/extensions_srvr.c
    M ssl/statem/statem_clnt.c
    M ssl/statem/statem_srvr.c
    M ssl/t1_lib.c

  Log Message:
  -----------
  ssl: modify libssl so that it uses OSSL_TIME

This is instead of time_t and struct timeval.  Some public APIs mandate a
presence of these two types, but they are converted to OSSL_TIME internally.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


  Commit: 4fc04c71acf180dad0b4418d12b3ed31ba46179a
      https://github.com/openssl/openssl/commit/4fc04c71acf180dad0b4418d12b3ed31ba46179a
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M ssl/quic/quic_ackm.c
    M ssl/quic/quic_statm.c

  Log Message:
  -----------
  Avoid struct timeval in QUIC code

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


  Commit: 02d0f87a8ba143eaeaee3334a2f63543b10148a9
      https://github.com/openssl/openssl/commit/02d0f87a8ba143eaeaee3334a2f63543b10148a9
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M crypto/build.info
    A crypto/time.c
    M ssl/build.info
    R ssl/time.c

  Log Message:
  -----------
  time: move OSSL_TIME to libcrypto

Keep building it for libssl without exposing any symbols.

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


  Commit: 5d1bb4fc47582b06dd224a788bdfaaced60e72a0
      https://github.com/openssl/openssl/commit/5d1bb4fc47582b06dd224a788bdfaaced60e72a0
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M crypto/bio/bss_dgram.c
    M crypto/ct/ct_policy.c
    M crypto/ts/ts_rsp_sign.c
    M include/internal/e_os.h

  Log Message:
  -----------
  libcrypto: remove reliance on struct timeval

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


  Commit: 0f4be8a14a2bcb8a92cf78d94d157152c0a03d88
      https://github.com/openssl/openssl/commit/0f4be8a14a2bcb8a92cf78d94d157152c0a03d88
  Author: Pauli <pauli at openssl.org>
  Date:   2022-09-13 (Tue, 13 Sep 2022)

  Changed paths:
    M include/internal/safe_math.h

  Log Message:
  -----------
  Fix white space

Reviewed-by: Todd Short <todd.short at me.com>
Reviewed-by: Richard Levitte <levitte at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19082)


Compare: https://github.com/openssl/openssl/compare/ee68d2b95792...0f4be8a14a2b


More information about the openssl-commits mailing list