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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Vlad Pătrașcu
  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 0e2e434fdfb78678fd073e1ad518dd74d2a4181b
      https://github.com/OpenSIPS/opensips/commit/0e2e434fdfb78678fd073e1ad518dd74d2a4181b
  Author: Dan Pascu <[hidden email]>
  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.



_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel