[openssl/openssl] 1cc8c5: Avoid issues with endianness when type is used in ...

Tomáš Mráz noreply at github.com
Fri Aug 25 11:06:20 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 1cc8c53b0fc06d148a9f62e5d2d5bcd859f948cf
      https://github.com/openssl/openssl/commit/1cc8c53b0fc06d148a9f62e5d2d5bcd859f948cf
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M doc/designs/quic-design/record-layer.md
    M include/internal/recordmethod.h
    M ssl/quic/quic_tls.c
    M ssl/record/methods/recmethod_local.h
    M ssl/record/methods/tls_common.c
    M ssl/record/record.h

  Log Message:
  -----------
  Avoid issues with endianness when type is used in SSL_trace()

The TLS record type is a single byte value so we can
use uint8_t for it. This allows passing its address
directly to SSL_trace() instead of converting it to
a single byte type first.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)


  Commit: 5ad3cc19282e2f98189467cd6aeae8d0389b999b
      https://github.com/openssl/openssl/commit/5ad3cc19282e2f98189467cd6aeae8d0389b999b
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M ssl/quic/quic_tls.c

  Log Message:
  -----------
  quic_tls.c: Fix wrong format string when raising error

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)


  Commit: d848520afed1d3a4e4c38307d3bf21e14bff096f
      https://github.com/openssl/openssl/commit/d848520afed1d3a4e4c38307d3bf21e14bff096f
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

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

  Log Message:
  -----------
  ch_init(): Add braces to appease older clang compilers

They produce a warning `suggest braces around initialization of subobject`
otherwise.

Add -Wno-missing-braces to silence old clang compilers

And drop unnecessary braces in zeroing initializers.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)


  Commit: 86051eb2bb86e3a89e69abfb6419409aa701bcf7
      https://github.com/openssl/openssl/commit/86051eb2bb86e3a89e69abfb6419409aa701bcf7
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M .github/workflows/compiler-zoo.yml
    M .github/workflows/cross-compiles.yml

  Log Message:
  -----------
  drop! Make failing tests run on pull request to test

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)


  Commit: eb1eaa9af4c241baea00cb16557f41811ed9e097
      https://github.com/openssl/openssl/commit/eb1eaa9af4c241baea00cb16557f41811ed9e097
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-08-25 (Fri, 25 Aug 2023)

  Changed paths:
    M doc/designs/quic-design/record-layer.md
    M include/internal/recordmethod.h
    M ssl/d1_msg.c
    M ssl/quic/quic_tls.c
    M ssl/record/methods/dtls_meth.c
    M ssl/record/methods/ktls_meth.c
    M ssl/record/methods/recmethod_local.h
    M ssl/record/methods/tls13_meth.c
    M ssl/record/methods/tls_common.c
    M ssl/record/methods/tls_multib.c
    M ssl/record/rec_layer_d1.c
    M ssl/record/rec_layer_s3.c
    M ssl/record/record.h
    M ssl/ssl_local.h
    M ssl/statem/statem_dtls.c
    M ssl/statem/statem_lib.c
    M test/recordlentest.c

  Log Message:
  -----------
  Always use uint8_t for TLS record type

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21823)


Compare: https://github.com/openssl/openssl/compare/675481ee7a8a...eb1eaa9af4c2


More information about the openssl-commits mailing list