[openssl/openssl] 79ee01: Add a test for the SSL_rstate_string*() APIs

Matt Caswell noreply at github.com
Thu Apr 27 16:11:55 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 79ee017220651d50d345af0e3093f091d5155890
      https://github.com/openssl/openssl/commit/79ee017220651d50d345af0e3093f091d5155890
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M test/sslapitest.c

  Log Message:
  -----------
  Add a test for the SSL_rstate_string*() APIs

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20827)


  Commit: 73bac6e28014bfecc322c67aa8b09077e34da299
      https://github.com/openssl/openssl/commit/73bac6e28014bfecc322c67aa8b09077e34da299
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M ssl/record/methods/tls_common.c

  Log Message:
  -----------
  Ensure that the SSL_rstate_string*() API works as they used to

We initialise the record layer rstate variable to ensure the
SSL_rstate_string*() APIs return values that are consistent with
previous versions.

Fixes #20808

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20827)


  Commit: 476e06eb1635a4cc9419da090d23fde9fed5a693
      https://github.com/openssl/openssl/commit/476e06eb1635a4cc9419da090d23fde9fed5a693
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M doc/man3/SSL_rstate_string.pod

  Log Message:
  -----------
  Correct the SSL_rstate_string*() APIs to match reality

The docs mentioned a "RD"/"read done" state that could be returned.
In practice that never happened, so update the docs to match
reality.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20827)


  Commit: 57582450318e955632d8fb09f42bd90f2ed5d3b4
      https://github.com/openssl/openssl/commit/57582450318e955632d8fb09f42bd90f2ed5d3b4
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-27 (Thu, 27 Apr 2023)

  Changed paths:
    M ssl/quic/quic_tls.c

  Log Message:
  -----------
  Update the SSL_rstate_string*() return value for QUIC

We make these APIs work more like the TLS versions do.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Hugo Landau <hlandau at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20827)


Compare: https://github.com/openssl/openssl/compare/57c0205b4df7...57582450318e


More information about the openssl-commits mailing list