Project

General

Profile

« Previous | Next » 

Revision 32537

  • ext/openssl/ossl.c (ossl_verify_cb): trap the exception from
    verify callback of SSLContext and X509Store and make the
    verification fail normally. Raising exception directly from callback
    causes orphan resouces in OpenSSL stack. Patched by Ippei Obayashi.
    See #4445.

  • test/openssl/test_ssl.rb
    (test_exception_in_verify_callback_is_ignored): test it.