[openssl/openssl] dbca84: quic_txp_test.c: Cleanup use of WPACKET

Tomáš Mráz noreply at github.com
Wed May 17 13:08:26 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: dbca844cb3e74b19acf46eb9a2222d30802ad642
      https://github.com/openssl/openssl/commit/dbca844cb3e74b19acf46eb9a2222d30802ad642
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M test/quic_txp_test.c

  Log Message:
  -----------
  quic_txp_test.c: Cleanup use of WPACKET

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


  Commit: eff046524b970243196d4622d20ffb8e0aeb208b
      https://github.com/openssl/openssl/commit/eff046524b970243196d4622d20ffb8e0aeb208b
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M include/internal/quic_channel.h
    M ssl/quic/quic_channel.c
    M ssl/quic/quic_channel_local.h
    M ssl/quic/quic_rx_depack.c
    M ssl/quic/quic_wire.c

  Log Message:
  -----------
  Add minimal handling of NEW_CONNECTION_ID frames

We actively use only the latest DCID received. And retire only
DCIDs requested by the peer to be retired.

Also changed the active_conn_id_limit to 2 as the minimum value allowed.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


  Commit: c301149ad43ee2c611e7b8d4f2826f524f3385aa
      https://github.com/openssl/openssl/commit/c301149ad43ee2c611e7b8d4f2826f524f3385aa
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M test/quic_txp_test.c
    M test/quic_wire_test.c

  Log Message:
  -----------
  Fix test cases using NEW_CONNECTION_ID frame

seq_id must be >= retire_prior_to.

Add negative testcase.

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


  Commit: bbc9754026e815429b55c92cf2a70e4ac59464cf
      https://github.com/openssl/openssl/commit/bbc9754026e815429b55c92cf2a70e4ac59464cf
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M include/internal/quic_channel.h
    M include/internal/quic_tserver.h
    M ssl/quic/quic_channel.c
    M ssl/quic/quic_channel_local.h

  Log Message:
  -----------
  quic_tserver: Add possibility to change the connection id

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


  Commit: 80b9eca279772185c32bb8d639af874b00217d6f
      https://github.com/openssl/openssl/commit/80b9eca279772185c32bb8d639af874b00217d6f
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M ssl/quic/quic_tserver.c
    M test/build.info
    A test/quic_newcid_test.c
    M test/recipes/90-test_quicfaults.t

  Log Message:
  -----------
  Add test for handling NEW_CONNECTION_ID frame

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


  Commit: 219db5e43c4f030a1c9c4a2f28249fd89b05ea0d
      https://github.com/openssl/openssl/commit/219db5e43c4f030a1c9c4a2f28249fd89b05ea0d
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M test/quic_newcid_test.c

  Log Message:
  -----------
  quic_newcid_test: Add negative test case

Reviewed-by: Hugo Landau <hlandau at openssl.org>
Reviewed-by: Paul Dale <pauli at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20892)


Compare: https://github.com/openssl/openssl/compare/4b4e246ccb6e...219db5e43c4f


More information about the openssl-commits mailing list