[openssl/openssl] 47b529: Fix removal of sole key exchange group in tuple

"'openssl-machine' via openssl-commits" <[email protected]> Mon, 20 Jul 2026 00:26:43 -0700
Newsgroups gmane.comp.encryption.openssl.cvs
Message-ID <openssl/openssl/push/refs/heads/openssl-4.0/[email protected]>
  Branch: refs/heads/openssl-4.0
  Home:   https://github.com/openssl/openssl
  Commit: 47b52982c7895c45c4641f14e73927f8fc11be90
      https://github.com/openssl/openssl/commit/47b52982c7895c45c4641f14e73927f8fc11be90
  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)

(cherry picked from commit 5b445cd96a3de836c28105d1583f62472e8cc7e6)


  Commit: a3aeff49263831e67b1e5643f9cb1135eae434b7
      https://github.com/openssl/openssl/commit/a3aeff49263831e67b1e5643f9cb1135eae434b7
  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)

(cherry picked from commit 5bf14bcaae73dd9328c09e6a206514f19e5da7ad)


Compare: https://github.com/openssl/openssl/compare/2663b405d233...a3aeff492638

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/openssl-4.0/2663b4-a3aeff%40github.com.