[openssl/openssl] f8ffab: Defer unknown QUIC ctrls to the SSL object for TLS

Matt Caswell noreply at github.com
Sun Mar 19 22:38:31 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: f8ffab0d52fc5e37d92c99e4463d76174e869930
      https://github.com/openssl/openssl/commit/f8ffab0d52fc5e37d92c99e4463d76174e869930
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M ssl/quic/quic_impl.c

  Log Message:
  -----------
  Defer unknown QUIC ctrls to the SSL object for TLS

If the QUIC oject receives a ctrl it does not recognise, the chances are
it is intended for the underlying SSL object - so we forward unknown ctrls
there.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: 44a1ac5de0cb422bc65089e1e3bf1b46bb8ab141
      https://github.com/openssl/openssl/commit/44a1ac5de0cb422bc65089e1e3bf1b46bb8ab141
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M crypto/err/openssl.txt
    M include/openssl/sslerr.h
    M ssl/quic/quic_impl.c
    M ssl/ssl_err.c
    M ssl/sslerr.h

  Log Message:
  -----------
  Provide better errors for some QUIC failures

For example if would be helpful if we got more useful information if the
caller forgot to set the peer address.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: 560470b5d97ea5f122d53d1b85e9f384f8ba9023
      https://github.com/openssl/openssl/commit/560470b5d97ea5f122d53d1b85e9f384f8ba9023
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M include/internal/quic_ssl.h
    M ssl/quic/quic_impl.c
    M ssl/ssl_lib.c

  Log Message:
  -----------
  Fix SSL_has_pending() for QUIC connections

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: 4e15b44864df0d3c6306a9bf354fea92147834df
      https://github.com/openssl/openssl/commit/4e15b44864df0d3c6306a9bf354fea92147834df
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M ssl/quic/quic_impl.c

  Log Message:
  -----------
  Fix seg fault when calling SSL_shutdown() for a QUIC connection

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: c2212dc19eb280e22bda7d0538b23eef0be040e9
      https://github.com/openssl/openssl/commit/c2212dc19eb280e22bda7d0538b23eef0be040e9
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M ssl/quic/quic_channel.c

  Log Message:
  -----------
  Make sure the QRX and QTX are associated with a libctx

If a libctx has been associated with the channel, it must be passed down
to the QRX and QTX.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: 0c593328fe811583da68d25b0c8bf87ba842acbb
      https://github.com/openssl/openssl/commit/0c593328fe811583da68d25b0c8bf87ba842acbb
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M doc/designs/quic-design/quic-fault-injector.md
    M include/internal/quic_tserver.h
    M ssl/quic/quic_tserver.c
    M test/build.info
    M test/helpers/quictestlib.c
    M test/helpers/quictestlib.h
    M test/helpers/ssltestlib.c
    M test/helpers/ssltestlib.h
    M test/quicapitest.c
    M test/quicfaultstest.c
    M test/recipes/75-test_quicapi.t
    M test/sslapitest.c

  Log Message:
  -----------
  Add a simple QUIC test for blocking mode

We create "real" sockets for blocking mode so that we can block on them.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


  Commit: d293ebde01fc14dabbd64fd6e42dc837be7b1fad
      https://github.com/openssl/openssl/commit/d293ebde01fc14dabbd64fd6e42dc837be7b1fad
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-03-20 (Mon, 20 Mar 2023)

  Changed paths:
    M ssl/quic/quic_reactor.c

  Log Message:
  -----------
  Fix some Windows issues in the quic_reactor

An incorrect macro name was being used for Windows detection which meant
we were going down a codepath not intended for Windows and thus failing.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20514)


Compare: https://github.com/openssl/openssl/compare/8b399c5e51b4...d293ebde01fc


More information about the openssl-commits mailing list