[openssl/openssl] 5b445c: Fix removal of sole key exchange group in tuple

"'openssl-machine' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 00:17:38 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 5b445cd96a3de836c28105d1583f62472e8cc7e6
      https://github.com/openssl/openssl/commit/5b445cd96a3de836c28105d1583f62472e8cc7e6
  Author: Viktor Dukhovni <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M ssl/t1_lib.c

  Log Message:
  -----------
  Fix removal of sole key exchange group in tuple

- Don't attempt to float its keyshare if any
- Include active tuple in memmove() that excises a newly empty closed tuple.

Add comments to clarify the logic.

Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
MergeDate: Mon Jul 20 07:12:30 2026
(Merged from https://github.com/openssl/openssl/pull/31926)


  Commit: 5bf14bcaae73dd9328c09e6a206514f19e5da7ad
      https://github.com/openssl/openssl/commit/5bf14bcaae73dd9328c09e6a206514f19e5da7ad
  Author: Viktor Dukhovni <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M test/build.info
    A test/recipes/70-test_tls_groups_list.t
    A test/tls_groups_list_test.c

  Log Message:
  -----------
  Extend TLS group list parser test cases

The new edge case tests cover potential parser invariant violations
fixed in the prior commit.

Reviewed-by: Nikola Pajkovsky <[email protected]>
Reviewed-by: Milan Broz <[email protected]>
Reviewed-by: Norbert Pocs <[email protected]>
MergeDate: Mon Jul 20 07:12:31 2026
(Merged from https://github.com/openssl/openssl/pull/31926)


Compare: https://github.com/openssl/openssl/compare/d4357db45c93...5bf14bcaae73

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications

-- 
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/d4357d-5bf14b%40github.com.