[OpenSIPS-Devel] [OpenSIPS/opensips] 9a5627: tls_wolfssl: fix differing TLS version for write d...

Vlad Pătrașcu noreply at github.com
Fri Jul 8 19:39:12 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 9a5627de5bf009d8bdba9861cbe58bf31304afdd
      https://github.com/OpenSIPS/opensips/commit/9a5627de5bf009d8bdba9861cbe58bf31304afdd
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-07-08 (Fri, 08 Jul 2022)

  Changed paths:
    M modules/tls_wolfssl/wolfssl_conn_ops.c

  Log Message:
  -----------
  tls_wolfssl: fix differing TLS version for write duplicate struct

When using a range of supported TLS versions, the WOLFSSL write duplicate
structure uses the highest TLS version set for the context instead of the one
actually negociated for the current session. This may lead to errors for TLS
write or shutdown operations, for ciphers that are not supported in the
TLS version used by the write dup structure.

Fixes #2729

(cherry picked from commit 35b29e618b1175618c61747591dcf87370056102)





More information about the Devel mailing list