[OpenSIPS-Devel] [OpenSIPS/opensips] 0e2e43: Clear SSL errors before performing SSL operations

Dan Pascu noreply at github.com
Mon Jan 13 07:45:54 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0e2e434fdfb78678fd073e1ad518dd74d2a4181b
      https://github.com/OpenSIPS/opensips/commit/0e2e434fdfb78678fd073e1ad518dd74d2a4181b
  Author: Dan Pascu <dan at ag-projects.com>
  Date:   2020-01-13 (Mon, 13 Jan 2020)

  Changed paths:
    M modules/tls_mgm/tls_conn_ops.h
    M modules/tls_mgm/tls_conn_server.h

  Log Message:
  -----------
  Clear SSL errors before performing SSL operations

Calling SSL_get_error() doesn't remove the error from the stack.
As a result SSL errors can remain on the stack and show up erronously in
later SSL operations and even spill out and affect other SSL contexts.





More information about the Devel mailing list