[openssl/openssl] 50769b: Make sure we can query the SSL object for version ...

Matt Caswell noreply at github.com
Mon Apr 3 23:08:41 UTC 2023


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

  Changed paths:
    M include/openssl/prov_ssl.h
    M include/openssl/ssl.h.in
    M ssl/ssl_lib.c
    M util/libssl.num

  Log Message:
  -----------
  Make sure we can query the SSL object for version info when using QUIC

We have the existing functions SSL_version(), SSL_get_version() and
SSL_is_dtls(). We extend the first two to return something sensible when
using QUIC. We additionally provide the new functions SSL_is_tls() and
SSL_is_quic() to provide a mechanism to figure out what protocol we are
using.

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


  Commit: 843f6e277f2905d95f0c2d0804deb3ea62cef1c1
      https://github.com/openssl/openssl/commit/843f6e277f2905d95f0c2d0804deb3ea62cef1c1
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M test/quicapitest.c
    M test/sslapitest.c

  Log Message:
  -----------
  Add a test for SSL_version(), SSL_get_version() etc

We also test SSL_is_dtls(), SSL_is_tls() and SSL_is_quic().

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


  Commit: 418c6c520764491262018c45481a20ef10cd3bca
      https://github.com/openssl/openssl/commit/418c6c520764491262018c45481a20ef10cd3bca
  Author: Matt Caswell <matt at openssl.org>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M doc/man3/SSL_get_version.pod

  Log Message:
  -----------
  Update the documentation for SSL_version et al

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


Compare: https://github.com/openssl/openssl/compare/a76ccb9d0ddc...418c6c520764


More information about the openssl-commits mailing list