[openssl/openssl] e3f973: Fix supported_groups handing in TLSv1.2

Matt Caswell noreply at github.com
Thu Jun 29 09:57:18 UTC 2023


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: e3f9731d3a4e8c9cd3933d270ebfffc0ef416b7a
      https://github.com/openssl/openssl/commit/e3f9731d3a4e8c9cd3933d270ebfffc0ef416b7a
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M ssl/t1_lib.c

  Log Message:
  -----------
  Fix supported_groups handing in TLSv1.2

In TLSv1.2 we should not attempt to use a supported_group value that is
intended for use with TLSv1.3 - even if both the server and the client
support it, e.g. the ffdhe groups are supported by OpenSSL for TLSv1.3 but
not for TLSv1.2.

Fixes #21081

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

(cherry picked from commit 01e765f0547eb67631820647a0cfeb9b3741491a)


  Commit: cc86c46cc91b13462a5abca01d5d16ac2f04e15e
      https://github.com/openssl/openssl/commit/cc86c46cc91b13462a5abca01d5d16ac2f04e15e
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M test/ssl-tests/14-curves.cnf
    M test/ssl-tests/14-curves.cnf.in

  Log Message:
  -----------
  Add some test_ssl_new tests for the ffdhe groups

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

(cherry picked from commit 5cd269461ac7a7920299232b1c1b9857c1e1908f)


Compare: https://github.com/openssl/openssl/compare/f2ade1527b44...cc86c46cc91b


More information about the openssl-commits mailing list