[openssl/openssl] c5ca71: uint_set: convert uint_set to use the list data type

Pauli noreply at github.com
Wed Nov 16 07:03:58 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: c5ca718003e69ea0ef98392ce0abd4b6bfedeac8
      https://github.com/openssl/openssl/commit/c5ca718003e69ea0ef98392ce0abd4b6bfedeac8
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M include/internal/uint_set.h
    M ssl/quic/quic_ackm.c
    M ssl/quic/quic_sstream.c
    M ssl/quic/uint_set.c

  Log Message:
  -----------
  uint_set: convert uint_set to use the list data type

This is instead of re-implementing a linked list itself.

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: e32fc5ad0ea1a2d69f12d9208f2de489f7ee9737
      https://github.com/openssl/openssl/commit/e32fc5ad0ea1a2d69f12d9208f2de489f7ee9737
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M ssl/quic/quic_record_tx.c

  Log Message:
  -----------
  QUIC tx record layer: use list.h

As opposed to implementing a linked list explicitly.

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: dead13551c6661d34af3e5ddf1bc53c9efdb5647
      https://github.com/openssl/openssl/commit/dead13551c6661d34af3e5ddf1bc53c9efdb5647
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M include/internal/quic_ackm.h
    M ssl/quic/quic_ackm.c
    M ssl/quic/quic_fifd.c

  Log Message:
  -----------
  QUIC ackm: use list.h

Instead of implementing a list internally.

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: 3fb172ef0a635c2e705d3d1cb58624cfc6afd502
      https://github.com/openssl/openssl/commit/3fb172ef0a635c2e705d3d1cb58624cfc6afd502
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M include/internal/quic_demux.h
    M ssl/quic/quic_demux.c
    M ssl/quic/quic_record_rx.c

  Log Message:
  -----------
  QUIC: use list.h

The demux and record RX implemented lists internally.  This changes them over
to using list.h.

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: ccdcb08d05725673a3c416f221905fb362dcf1a6
      https://github.com/openssl/openssl/commit/ccdcb08d05725673a3c416f221905fb362dcf1a6
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M include/internal/list.h

  Log Message:
  -----------
  list: rename internal fields

This makes conversion to using list.h easier because the compiler will error
on an unknown field name rather than accepting `head` and `tail` and missing
some changes.

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: b6f1b059eefb493d02913e9b32bd267d9017ee73
      https://github.com/openssl/openssl/commit/b6f1b059eefb493d02913e9b32bd267d9017ee73
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M doc/internal/man3/DEFINE_LIST_OF.pod
    M include/internal/list.h
    M test/list_test.c

  Log Message:
  -----------
  list: add an is empty function

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: 30773411264dca0a791a068759ec625bd0d4f34b
      https://github.com/openssl/openssl/commit/30773411264dca0a791a068759ec625bd0d4f34b
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M include/internal/list.h
    M test/list_test.c

  Log Message:
  -----------
  list: add debug sanity checks

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


  Commit: 96796ab9baedee8b7de8d9ffc9e19dc0d8f8327a
      https://github.com/openssl/openssl/commit/96796ab9baedee8b7de8d9ffc9e19dc0d8f8327a
  Author: Pauli <pauli at openssl.org>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

  Changed paths:
    M doc/internal/man3/DEFINE_LIST_OF.pod

  Log Message:
  -----------
  Fix documenation mistakes

Reviewed-by: Tim Hudson <tjh at openssl.org>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
(Merged from https://github.com/openssl/openssl/pull/19377)


Compare: https://github.com/openssl/openssl/compare/ec7689186f3e...96796ab9baed


More information about the openssl-commits mailing list