[OpenSIPS-Devel] [OpenSIPS/opensips] 3e6293: tls: fix certificate matching when reusing connect...

Vlad Pătrașcu noreply at github.com
Fri Nov 13 15:16:22 EST 2020


  Branch: refs/heads/3.1
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3e6293f4978af3c2d212f29ba691c8d903dc1857
      https://github.com/OpenSIPS/opensips/commit/3e6293f4978af3c2d212f29ba691c8d903dc1857
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M modules/proto_tls/proto_tls.c
    M modules/proto_wss/proto_wss.c
    M modules/tls_mgm/tls_conn_ops.h

  Log Message:
  -----------
  tls: fix certificate matching when reusing connections

The SSL_CTX pointers may not be equal for the same SSL pointer (connection)
after the rework that changed the storage of the context to be
per-process. The tls_domain saved in the SSL extra storage will now be
used for matching the certificates instead.

(cherry picked from commit 582170270c3e0e41d539108b640552ae3cb23cfd)





More information about the Devel mailing list